public class SpigotEntity<E extends org.bukkit.entity.Entity> extends AbstractEntity
Constructor and Description |
---|
SpigotEntity(E entity) |
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() |
boolean |
isSameId(Entity other) |
boolean |
isSameId(String id) |
void |
sendMessage(String msg) |
void |
setVelocity(Vector vel) |
applyTheoricVelocity, getTargetBlock, getVelocity, toString
protected final E extends org.bukkit.entity.Entity entity
public SpigotEntity(E entity)
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 Vector getTheoricVelocity()
public void setVelocity(Vector vel)
public String getEntityId()
public boolean isSameId(String id)
public boolean isSameId(Entity other)
public BoundingBox getBoundingBox()