net.minecraftforge.event.entity.living

## Class EnderTeleportEvent

- java.lang.Object
- - net.minecraftforge.event.Event
  - - net.minecraftforge.event.entity.EntityEvent
    - - net.minecraftforge.event.entity.living.LivingEvent
      - - net.minecraftforge.event.entity.living.EnderTeleportEvent

-     public class EnderTeleportEvent
      extends LivingEvent

  Event for when an Enderman teleports or an ender pearl is used. Can be used to either modify the target position, or cancel the teleport outright.
  Author:
    Mithion

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent

      `LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent`

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent

      `EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing`

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.Event

      `Event.HasResult, Event.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `attackDamage`
    `double` | `targetX`
    `double` | `targetY`
    `double` | `targetZ`

    - ### Fields inherited from class net.minecraftforge.event.entity.living.LivingEvent

      `entityLiving`

    - ### Fields inherited from class net.minecraftforge.event.entity.EntityEvent

      `entity`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnderTeleportEvent(EntityLiving entity, double targetX, double targetY, double targetZ, int attackDamage)`

  - ### Method Summary

    - ### Methods inherited from class net.minecraftforge.event.Event

      `getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### targetX

          public double targetX

    - #### targetY

          public double targetY

    - #### targetZ

          public double targetZ

    - #### attackDamage

          public int attackDamage

  - ### Constructor Detail

    - #### EnderTeleportEvent

          public EnderTeleportEvent(EntityLiving entity,
                            double targetX,
                            double targetY,
                            double targetZ,
                            int attackDamage)