public class EnderTeleportEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
EnderTeleportEvent(EntityLivingBase entity,
double targetX,
double targetY,
double targetZ,
float attackDamage) |
Modifier and Type | Method and Description |
---|---|
float |
getAttackDamage() |
double |
getTargetX() |
double |
getTargetY() |
double |
getTargetZ() |
void |
setAttackDamage(float attackDamage) |
void |
setTargetX(double targetX) |
void |
setTargetY(double targetY) |
void |
setTargetZ(double targetZ) |
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public EnderTeleportEvent(EntityLivingBase entity, double targetX, double targetY, double targetZ, float attackDamage)
public double getTargetX()
public void setTargetX(double targetX)
public double getTargetY()
public void setTargetY(double targetY)
public double getTargetZ()
public void setTargetZ(double targetZ)
public float getAttackDamage()
public void setAttackDamage(float attackDamage)