public class EnderTeleportEvent extends LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private float |
attackDamage |
private double |
targetX |
private double |
targetY |
private double |
targetZ |
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
private double targetX
private double targetY
private double targetZ
private float attackDamage
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)