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