public class SpongeEntity<E extends org.spongepowered.api.entity.Entity> extends AbstractEntity
Constructor and Description |
---|
SpongeEntity(E e) |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
getBoundingBox() |
E |
getDefault() |
String |
getEntityId() |
double |
getEyeHeight() |
Location |
getEyeLocation() |
Location |
getLocation() |
String |
getName() |
Vector |
getRotation() |
Vector |
getTheoricVelocity() |
EntityType |
getType() |
World |
getWorld() |
boolean |
isDead() |
boolean |
isOnGround() |
boolean |
isOp() |
void |
sendMessage(String msg) |
void |
setVelocity(Vector vel) |
applyTheoricVelocity, getTargetBlock, getVelocity, toString
protected final E extends org.spongepowered.api.entity.Entity entity
public SpongeEntity(E e)
public boolean isOnGround()
public boolean isDead()
public boolean isOp()
public Location getLocation()
public World getWorld()
public double getEyeHeight()
public EntityType getType()
public E getDefault()
public void sendMessage(String msg)
public String getName()
public Location getEyeLocation()
public Vector getRotation()
public String getEntityId()
public BoundingBox getBoundingBox()
public Vector getTheoricVelocity()
public void setVelocity(Vector vel)