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, isSameId
getName
getDefault
UUID getUniqueId()
boolean isOnline()
boolean hasPlayedBefore()
default World getWorld()
Entity
default boolean isDead()
Entity
default boolean isOnGround()
Entity
isOnGround
in interface Entity
default Location getLocation()
Entity
getLocation
in interface Entity
default EntityType getType()
Entity
default void sendMessage(String msg)
sendMessage
in interface CommandSender
default BoundingBox getBoundingBox()
Entity
getBoundingBox
in interface Entity
default int getEntityId()
Entity
getEntityId
in interface Entity
default double getEyeHeight()
getEyeHeight
in interface Entity