Adds item to player's inventory.
if true, surplus will be dropped near player
true
if player is allowed to fly, false
otherwise.
Server-side analogue of Player.getFlyingEnabled.
Armor slot's contents.
Inventory slot's contents.
Gets one of the player's abilities in a boolean form.
ability name constant, should be one of the EPlayerAbility constants
Current value of the ability in a boolean form.
Server-side analogue of Player.getBooleanAbility.
Gets one of the player's abilities in a form of floating-point number.
ability name constant, should be one of the EPlayerAbility constants
Current value of the ability in a form of floating-point number.
Server-side analogue of Player.getFloatAbility.
true
if player is flying, false
otherwise.
Server-side analogue of Player.getFlying.
Sets armor slot's contents.
Enables or disables player's ability to fly.
whether the player can fly or not
Server-side analogue of Player.setFlyingEnabled.
Changes player's current flying state, call PlayerActor.setCanFly
to be able to set this property to true
.
whether the player should fly or not
Server-side analogue of Player.setFlying.
Sets inventory slot's contents.
Sets some of the player's abilities.
ability name constant, should be one of the EPlayerAbility constants
the value to be set for the ability
Server-side analogue of Player.setAbility.
Sets some of the player's abilities.
ability name constant, should be one of the EPlayerAbility constants
the value to be set for the ability
Server-side analogue of Player.setAbility.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class to manipulate with separate players.
Remarks
It is temporary! Most methods works only 1 server tick!