Back to mods
TargetEventBackport project artwork

CurseForge · Minecraft mod

TargetEventBackport

Add cancelable MobChangeTargetEvent.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which TargetEventBackport release should I use?

Updated 1 year ago
Latest stable file targetevent-1.16.5-1.0.0
Game version 1.16.5
Loader Forge

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

No extra mods listed for this file

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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 (via Mob#setTarget).
  • ⚙️ Seamless Integration:
    Uses Mixin injections to post the event without altering vanilla behavior when unused.
  • ✨ High-Version Parity:
    Mimics the behavior of Forge's LivingSetAttackTargetEvent in 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.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

TargetEventBackport versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.