Class EnderTeleportEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.living.LivingEvent
-
- net.minecraftforge.event.entity.living.EnderTeleportEvent
-
@Deprecated public class EnderTeleportEvent extends LivingEvent
Deprecated.Event for when an Enderman/Shulker 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, LivingEvent.LivingVisibilityEvent
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Field Summary
Fields Modifier and Type Field Description private float
attackDamage
Deprecated.private double
targetX
Deprecated.private double
targetY
Deprecated.private double
targetZ
Deprecated.
-
Constructor Summary
Constructors Constructor Description EnderTeleportEvent(LivingEntity entity, double targetX, double targetY, double targetZ, float attackDamage)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description float
getAttackDamage()
Deprecated.double
getTargetX()
Deprecated.double
getTargetY()
Deprecated.double
getTargetZ()
Deprecated.void
setAttackDamage(float attackDamage)
Deprecated.void
setTargetX(double targetX)
Deprecated.void
setTargetY(double targetY)
Deprecated.void
setTargetZ(double targetZ)
Deprecated.-
Methods inherited from class net.minecraftforge.event.entity.living.LivingEvent
getEntityLiving
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Constructor Detail
-
EnderTeleportEvent
public EnderTeleportEvent(LivingEntity entity, double targetX, double targetY, double targetZ, float attackDamage)
Deprecated.
-
-
Method Detail
-
getTargetX
public double getTargetX()
Deprecated.
-
setTargetX
public void setTargetX(double targetX)
Deprecated.
-
getTargetY
public double getTargetY()
Deprecated.
-
setTargetY
public void setTargetY(double targetY)
Deprecated.
-
getTargetZ
public double getTargetZ()
Deprecated.
-
setTargetZ
public void setTargetZ(double targetZ)
Deprecated.
-
getAttackDamage
public float getAttackDamage()
Deprecated.
-
setAttackDamage
public void setAttackDamage(float attackDamage)
Deprecated.
-
-