Class EntityTeleportEvent.ChorusFruit

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.EntityTeleportEvent
net.minecraftforge.event.entity.living.EntityTeleportEvent.ChorusFruit
Enclosing class:
EntityTeleportEvent

public static class EntityTeleportEvent.ChorusFruit extends EntityTeleportEvent
EntityTeleportEvent.ChorusFruit is fired before a LivingEntity is teleported due to consuming Chorus Fruit.
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.
  • Field Details

  • Constructor Details

    • ChorusFruit

      public ChorusFruit(LivingEntity entity, double targetX, double targetY, double targetZ)
  • Method Details