Class FakePlayer
java.lang.Object
com.shanebeestudios.nms.api.world.entity.FakePlayer
Represents a fake
ServerPlayer
Can create in PlayerApi.spawnFakePlayer(String, Location)
-
Method Summary
-
Method Details
-
teleport
Teleport this player to another locationCurrently does not support changing worlds/levels.
- Parameters:
location- Location to teleport to
-
update
Update for a single Player- Parameters:
player- Player to update for
-
update
public void update()Update for all players online -
removeFromPlayerList
public void removeFromPlayerList()Remove the player from the player list -
addToPlayerList
public void addToPlayerList()Add the player to the player list -
remove
public void remove()Remove this fake player -
toString
-