public interface OfflinePlayer extends Entity
| Modifier and Type | Method and Description |
|---|---|
default double |
getEyeHeight() |
default Location |
getEyeLocation() |
default Location |
getLocation()
Get the entity location
|
default Vector |
getRotation()
Get the rotation (also called "direction") of the entity
|
default Vector |
getTheoricVelocity()
Get the velocity that the entity SHOULD be take
|
default EntityType |
getType()
Get the type of the entity
|
UUID |
getUniqueId() |
default Vector |
getVelocity()
Get current entity velocity
|
boolean |
hasPlayedBefore() |
default boolean |
isOnGround()
Check if the given entity is currently on ground
|
boolean |
isOnline() |
default void |
sendMessage(String msg) |
default void |
setVelocity(Vector vel)
Edit the entity velocity
|
applyTheoricVelocity, getBoundingBox, getEntityId, getTargetBlock, isOp, isSameId, isSameIdgetNamegetDefaultUUID getUniqueId()
boolean isOnline()
boolean hasPlayedBefore()
default boolean isOnGround()
EntityisOnGround in interface Entitydefault Location getLocation()
EntitygetLocation in interface Entitydefault EntityType getType()
Entitydefault Location getEyeLocation()
getEyeLocation in interface Entitydefault Vector getRotation()
EntitygetRotation in interface Entitydefault Vector getVelocity()
EntitygetVelocity in interface Entitydefault Vector getTheoricVelocity()
EntitygetTheoricVelocity in interface Entitydefault void setVelocity(Vector vel)
EntitysetVelocity in interface Entityvel - the new velocitydefault void sendMessage(String msg)
sendMessage in interface CommandSenderdefault double getEyeHeight()
getEyeHeight in interface Entity