CurseForge · Minecraft mod
TargetEventBackport
Add cancelable MobChangeTargetEvent.
Quick answer
Which TargetEventBackport release should I use?
TargetEventBackport targetevent-1.16.5-1.0.0 targets 1.16.5 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is TargetEventBackport required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does TargetEventBackport targetevent-1.16.5-1.0.0 need?
targetevent-1.16.5-1.0.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add TargetEventBackport without breaking your instance.
Built for TargetEventBackport targetevent-1.16.5-1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use targetevent-1.16.5-1.0.0. It targets 1.16.5 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside targetevent-1.16.5-1.0.0. It opens that exact file at the source.
About this project
What does TargetEventBackport add?
TargetEventBackport for Minecraft 1.16.5 (Forge)
Overview
TargetEventBackport solves a limitation in Minecraft 1.16.5 Forge where the LivingSetAttackTargetEvent is not cancelable. This prevents modders from controlling mob targeting behavior—a feature freely available in modern versions (1.18.2+). This mod bridges the gap by introducing a fully cancelable event, restoring functionality parity with newer Minecraft editions.
Key Features
- �️ Adds
MobChangeTargetEvent:
A cancelable event fired whenever a mob changes its attack target (viaMob#setTarget). - ⚙️ Seamless Integration:
Uses Mixin injections to post the event without altering vanilla behavior when unused. - ✨ High-Version Parity:
Mimics the behavior of Forge'sLivingSetAttackTargetEventin 1.18.2+, enabling:- Canceling unwanted targeting (e.g., stop creepers targeting players).
- Dynamically overriding targets (e.g., redirect mobs to custom entities).
Well, we are including MixinExtras for compatibility reason so the jar file is rather big
Project description from CurseForge.
Pick your setup
TargetEventBackport by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
TargetEventBackport versions and loaders
targetevent-1.16.5-1.0.0
targetevent-1.16.5-1.0.0.jar
25 Jul 2025
Looking for an older file? The official CurseForge project page is in Resources.