Class EntityTeleportEvent.EnderEntity

  • Enclosing class:
    EntityTeleportEvent

    public static class EntityTeleportEvent.EnderEntity
    extends EntityTeleportEvent
    EntityTeleportEvent.EnderEntity is fired before an Enderman or Shulker randomly teleports.
    This event is Cancelable.
    If the event is not canceled, the entity will be teleported.
    This event does not have a result. Event.HasResult

    This event is fired on the MinecraftForge.EVENT_BUS.

    This event is only fired on the LogicalSide.SERVER side.

    If this event is canceled, the entity will not be teleported.
    • Constructor Detail

      • EnderEntity

        public EnderEntity​(LivingEntity entity,
                           double targetX,
                           double targetY,
                           double targetZ)
    • Method Detail