Player
Information about the player binding
Last updated
Was this helpful?
Information about the player binding
Last updated
Was this helpful?
See
msg
String
Message you want the player to send
Sends a respawn packet
Makes the player swing the current item.
Sets the player's pitch
pitch
Number
New player pitch
Sets the player's yaw
yaw
Number
New player yaw
Sets the player's motionX
motionX
Number
New player motionX
Sets the player's motionY
motionY
Number
New player motionY
Sets the player's motionZ
motionZ
Number
New player motionZ
Sets the players position
x
Number
New player pos x
y
Number
New player pos y
z
Number
New player pos z
Makes the player jump
Returns the player's current timer speed as a Number
Returns the player's current speed as a Number
Sets the player's speed
speed
Number
New player speed
Sets to true to make the player sneak
sneaking
Boolean
Set to true to make the player sneak
Sets to true to make the player sprint
sprinting
Boolean
Set to true to make the player sprint
Sets the player's fall distance
fallDistance
Number
New player fall distance
Clicks the left mouse button
Clicks the right mouse button
Set the current held item of the local player.
slot
Number
New slot of the item in the hotbar (0-8)
Returns true if the player was collided horizontally
Returns true if the player was collided horizontally
Returns true if the player was collided at all
Returns true if the player is moving
Returns true if the player is sneaking
Returns true if the player is sprinting
Returns true if the player is eating
Returns true if the player is on ground
Returns true if the player is air borne
Returns true if the player is on a ladder
Returns true if the player is in water
Returns true if the player is in lava
Returns true if the player is in a web
Returns true if the player is in a portal
Returns true if the player is using an item
Returns true if the player is burning
Returns true if the player is dead
potion
Checks to see if the specified potion is active
Returns the player's name as a String
Returns the player's hurt time as a Number
Returns the player's currently held item's slot as a Number
Returns the player's ticks existed as a Number
Returns the player's fall distance as a Number
Returns the player's health as a Number
Returns the player's max health as a Number
Returns the player's total armor value as a Number
Returns the player's food level as a Number
Returns the player's absorption level as a Number
Returns the player's pitch as a Number
Returns the player's yaw as a Number
Returns the player's x pos as a Number
Returns the player's y pos as a Number
Returns the player's z pos as a Number
Returns the player's previous x pos as a Number
Returns the player's previous y pos as a Number
Returns the player's previous z pos as a Number
Returns the player's motion x as a Number
Returns the player's motion y as a Number
Returns the player's motion z as a Number
Returns the base move speed of the player as a Number
Returns the current server ip as a String, returns "singleplayer" if the player is in singleplayer mode
Returns an object of the specified slot in the player's inventory. Returns null if there is no stack in that slot