public class EntityWrapper extends Wrapper
Constructor and Description |
---|
EntityWrapper(org.bukkit.entity.Entity entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
int |
getEntityId()
Gets the entity Id of the entity
|
org.bukkit.entity.EntityType |
getEntityType()
Gets the EntityType of the entity
|
float |
getFallDistance()
Gets the fall distance of the entity
|
int |
getFireTicks()
Gets the ticks left where the entity is on fire
|
double[] |
getLocation()
Gets the location of the entity
|
EntityWrapper |
getPassenger()
Gets the entity's passenger
|
org.bukkit.util.Vector |
getVelocity()
Gets the velocity of the entity
|
boolean |
isDead()
Gets whether or not the entity exists anymore
|
public org.bukkit.entity.EntityType getEntityType()
public double[] getLocation()
public org.bukkit.util.Vector getVelocity()
public int getFireTicks()
public boolean isDead()
public int getEntityId()
public EntityWrapper getPassenger()
public float getFallDistance()