Interface MobTeleportEvent
- All Superinterfaces:
Cancellable, Event, MobEvent
Fired when a mob is about to teleport by itself, as an enderman does, once it found where to
land.
Cancelling it keeps the mob where it is; an enderman then tries elsewhere, firing the event anew. It does not fire for a plugin teleporting the mob.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
from
-
to
Location to()Returns where the mob is about to land.- Returns:
- where the mob is about to land
- Since:
- 0.1.0
-