LogicUsing Events
Entity Target
Triggers when a mob decides to target another entity.
This event fires when an entity with AI (like a mob) chooses a target to attack or follow.
Action Values
Entity: The entity that is targeting.Target Entity: The entity that is being targeted.
Event Configuration
- Entity Type: Filter by the type of the targeting entity.
- Cancel Event: If
true, the entity will not be able to target, effectively making it passive.
Use Cases
- Preventing mobs from targeting players on a specific team.
- Making certain mobs only target other specific mobs, creating factional warfare.
- Forcing a mob to always target a specific "bait" entity.