LogicUsing Events
Entity Teleport
Triggers when a non-player entity teleports.
This event fires when an entity teleports, most commonly an Enderman.
Action Values
Entity: The entity that teleported.From: The location the entity teleported from.To: The location the entity is teleporting to.
Event Configuration
- Entity Type: Filter to only trigger for
ENDERMANor other teleporting entities. - Cancel Event: If
true, the teleport is cancelled.
Use Cases
- Preventing Endermen from teleporting out of a designated arena.
- Creating an anti-Enderman field around a player's base.