public interface FakePlayer extends Entity
Modifier and Type | Method and Description |
---|---|
default EntityType |
getType()
Get the type of the entity
|
UUID |
getUUID()
Get Unique ID of the fake player
|
void |
hide(Player p)
Hide the fake player to the specified online player
|
default void |
sendMessage(String msg) |
void |
show(Player p)
Show the fake player to the specified online player
|
applyTheoricVelocity, getBoundingBox, getEntityId, getEyeHeight, getEyeLocation, getLocation, getRotation, getTargetBlock, getTheoricVelocity, getVelocity, isOnGround, isOp, isSameId, isSameId, setVelocity
getName
getDefault
void show(Player p)
p
- THe player who will see the entityvoid hide(Player p)
p
- The player that will not see itUUID getUUID()
default void sendMessage(String msg)
sendMessage
in interface CommandSender
default EntityType getType()
Entity