true if the teleport was successful
*/
public boolean teleport(Location location);
/**
* Teleports this entity to the given location
*
* @param location New location to teleport this entity to
* @praram cause The cause of this teleportation
* @return true if the teleport was successful
*/
public boolean teleport(Location location, TeleportCause cause);
/**
* Teleports this entity to the target Entity
*
* @param destination Entity to teleport this entity to
* @return true if the teleport was successful
*/
public boolean teleport(Entity destination);
/**
* Teleports this entity to the target Entity
*
* @param destination Entity to teleport this entity to
* @praram cause The cause of this teleportation
* @return true if the teleport was successful
*/
public boolean teleport(Entity destination, TeleportCause cause);
/**
* Returns a list of entities within a bounding box centered around this entity
*
* @param x 1/2 the size of the box along x axis
* @param y 1/2 the size of the box along y axis
* @param z 1/2 the size of the box along z axis
* @return List* This is the equivalent to "age" in entities. * * @return Age of entity */ public int getTicksLived(); /** * Sets the amount of ticks this entity has lived for. *
* This is the equivalent to "age" in entities. May not be less than one tick. * * @param value Age of entity */ public void setTicksLived(int value); /** * Performs the specified {@link EntityEffect} for this entity. *
* This will be viewable to all players near the entity. * * @param type Effect to play. */ public void playEffect(EntityEffect type); /** * Get the type of the entity. * @return The entity type. */ public EntityType getType(); }