TargetEventBackport
No reviews yet
Add cancelable MobChangeTargetEvent.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers