public interface OfflinePlayer extends Entity
| Modifier and Type | Method and Description |
|---|---|
default BoundingBox |
getBoundingBox()
Get the bounding box of the current entity
|
default int |
getEntityId()
Get the entity ID
|
default double |
getEyeHeight() |
default Location |
getLocation()
Get the entity location
|
default EntityType |
getType()
Get the type of the entity
|
UUID |
getUniqueId() |
default World |
getWorld()
Get the world of the entity
|
boolean |
hasPlayedBefore() |
default boolean |
isDead()
Check if the entity is dead
|
default boolean |
isOnGround()
Check if the given entity is currently on ground
|
boolean |
isOnline() |
default void |
sendMessage(String msg) |
getEyeLocation, getRotation, isOp, isSameId, isSameId, isSameIdgetNamegetDefaultUUID getUniqueId()
boolean isOnline()
boolean hasPlayedBefore()
default World getWorld()
Entitydefault boolean isDead()
Entitydefault boolean isOnGround()
EntityisOnGround in interface Entitydefault Location getLocation()
EntitygetLocation in interface Entitydefault EntityType getType()
Entitydefault void sendMessage(String msg)
sendMessage in interface CommandSenderdefault BoundingBox getBoundingBox()
EntitygetBoundingBox in interface Entitydefault int getEntityId()
EntitygetEntityId in interface Entitydefault double getEyeHeight()
getEyeHeight in interface Entity