public class LivingEntityWrapper extends EntityWrapper
Constructor and Description |
---|
LivingEntityWrapper(org.bukkit.entity.LivingEntity live) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.util.List<org.bukkit.potion.PotionEffect> |
getActivePotionEffects()
Gets a list of the active potion effects on this living entity
|
java.lang.String |
getCustomName()
Gets the custom name of this living entity
|
org.bukkit.util.Vector |
getEyeDirection()
Gets the vector describing the direction the living entity is looking
|
double |
getHealth()
Get's the living entity's current health
|
double |
getMaxHealth()
Get's the living entity's max health
|
int |
getMaximumAir()
Get's the living entity's maximum air
|
int |
getRemainingAir()
Gets the living entity's remaining air
|
getEntityId, getEntityType, getFallDistance, getFireTicks, getLocation, getPassenger, getVelocity, isDead
public LivingEntityWrapper(org.bukkit.entity.LivingEntity live)
public java.util.List<org.bukkit.potion.PotionEffect> getActivePotionEffects()
public java.lang.String getCustomName()
public int getRemainingAir()
public int getMaximumAir()
public double getMaxHealth()
public double getHealth()
public org.bukkit.util.Vector getEyeDirection()
public boolean equals(java.lang.Object object)
equals
in class EntityWrapper