public class LivingEntityWrapper extends EntityWrapper
| Constructor and Description |
|---|
LivingEntityWrapper(LivingEntity live) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.util.List<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
|
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, isDeadpublic LivingEntityWrapper(LivingEntity live)
public java.util.List<PotionEffect> getActivePotionEffects()
public java.lang.String getCustomName()
public int getRemainingAir()
public int getMaximumAir()
public double getMaxHealth()
public double getHealth()
public boolean equals(java.lang.Object object)
equals in class EntityWrapper