Skip to main content

Players

Mutate Player​

player.mutate

Changes the properties of a Player that are given, the others stay as they are, and gives every property's value after the change

InTypeWhat it is
PlayerPlayerRepresents a player, connected or not
Affects Spawning (optional)BooleanSet whether the player can affect mob spawning
Allow Flight (optional)BooleanSets if the Player is allowed to fly via jump key double-tap like in creative mode.
Compass Target (optional)LocationSet the target of the player's compass.
Custom Chat Completions (optional)Collection<Text>Set the list of chat completion suggestions shown to the player while typing a message.
Death Screen Score (optional)IntegerSet the score that shows in the death screen of the player.
Enchantment Seed (optional)IntegerSets the player's enchantment seed.
Exhaustion (optional)FloatSets the players current exhaustion level
Exp (optional)FloatSets the players current experience points towards the next level This is a percentage value.
Exp Cooldown (optional)IntegerSets the player's cooldown between picking up experience orbs.
Experience Level And Progress (optional)IntegerUpdates the players level and level progress to that what would be reached when the total amount of experience had been collected.
Fly Speed (optional)FloatSets the speed at which a client will fly.
Flying (optional)BooleanMakes this player start or stop flying.
Flying Fall Damage (optional)TriStateAllows you to enable fall damage while getAllowFlight() is true
Food Level (optional)IntegerSets the players current food level
Game Mode (optional)GameModeSets this human's current GameMode
Has Seen Win Screen (optional)BooleanChanges whether this player has seen the win screen before.
Health Scale (optional)NumberSets the number to scale health to for the client; this will also setHealthScaled(true).
Health Scaled (optional)BooleanSets if the client is displayed a 'scaled' health, that is, health on a scale from 0-getHealthScale().
Hurt Direction (optional)FloatSets player hurt direction
Item On Cursor (optional)ItemSets the item to the given ItemStack, this will replace whatever the user was moving.
Last Death Location (optional)LocationSets the player's last death location.
Level (optional)IntegerSets the players current experience level
Player List Order (optional)IntegerSets the relative order that the player is shown on the in-game player list.
Player Weather (optional)WeatherTypeSets the type of weather the player will see.
Respawn Location (optional)LocationSets the Location where the player will respawn.
Saturated Regen Rate (optional)IntegerSet the regeneration rate (1 health per x ticks) of the HumanEntity when they have saturation and their food level is >= 20.
Saturation (optional)FloatSets the players current saturation level
Send View Distance (optional)IntegerSets the sending view distance for this player.
Simulation Distance (optional)IntegerSets the simulation distance for this player
Sleeping Ignored (optional)BooleanSets whether the player is ignored as not sleeping.
Sneaking (optional)BooleanSets the sneak mode the player
Spectator Target (optional)EntitySets the entity which is followed by the camera when in SPECTATOR.
Sprinting (optional)BooleanSets whether the player is sprinting or not.
Starvation Rate (optional)IntegerGet the starvation rate (1 health per x ticks) of the HumanEntity.
Total Experience (optional)IntegerSets the players current experience points.
Unsaturated Regen Rate (optional)IntegerGet the regeneration rate (1 health per x ticks) of the HumanEntity when they have no saturation and their food level is >= 18.
View Distance (optional)IntegerSets the view distance for this player
Walk Speed (optional)FloatSets the speed at which a client will walk.
Warden Time Since Last Warning (optional)IntegerSets time since last Warden warning in ticks.
Warden Warning Cooldown (optional)IntegerSets the player's cooldown in ticks until next Warden warning can occur.
Warden Warning Level (optional)IntegerSets the player's Warden warning level.
Whitelisted (optional)BooleanSets if this player is whitelisted or not
Absorption Amount (optional)NumberSets the entity's absorption amount.
Active Item Remaining Time (optional)IntegerSets the number of ticks that remain for getActiveItem()'s usage.
Ai (optional)BooleanSets whether an entity will have AI.
Arrow Cooldown (optional)IntegerSets the time in ticks until the next arrow leaves the entity's body.
Arrows In Body (optional)IntegerSet the amount of arrows in the entity's body.
Bee Stinger Cooldown (optional)IntegerSets the time in ticks until the next stinger leaves the entity's body.
Bee Stingers In Body (optional)IntegerSet the amount of bee stingers in the entity's body.
Body Yaw (optional)FloatSets entity body yaw
Can Pickup Items (optional)BooleanSets whether or not the living entity can pick up items.
Collidable (optional)BooleanSet if this entity will be subject to collisions with other entities.
Friction State (optional)TriStateSets the friction state of this entity.
Gliding (optional)BooleanMakes entity start or stop gliding.
Health (optional)NumberSets the entity's health from 0 to getMaxHealth(), where 0 is dead.
Jumping (optional)BooleanSet entity jump state Setting to true will mark the entity to jump.
Killer (optional)PlayerSets the player identified as the killer of the living entity.
Last Damage (optional)NumberSets the damage dealt within the current no damage ticks time period.
Leash Holder (optional)EntitySets the leash on this entity to be held by the supplied entity.
Maximum Air (optional)IntegerSets the maximum amount of air the living entity can have, in ticks.
Maximum No Damage Ticks (optional)IntegerSets the living entity's current maximum no damage ticks.
No Action Ticks (optional)IntegerSet the ticks that this entity has performed no action.
No Damage Ticks (optional)IntegerSets the living entity's current no damage ticks.
Remaining Air (optional)IntegerSets the amount of air that the living entity has remaining, in ticks.
Remove When Far Away (optional)BooleanSets whether or not the living entity despawns when away from players or not.
Riptiding (optional)BooleanMakes entity start or stop riptiding.
Waypoint Color (optional)ColorSets the color of the waypoint icon.
Custom Name Visible (optional)BooleanSets whether or not to display the mob's custom name client side.
Fall Distance (optional)FloatSets the fall distance for this entity
Fire Ticks (optional)IntegerSets the entity's current fire ticks (ticks before the entity stops being on fire).
Freeze Ticks (optional)IntegerSets the entity's current freeze ticks (amount of ticks the entity has been in powdered snow).
Glowing (optional)BooleanSets whether the entity has a team colored (default: white) glow.
Gravity (optional)BooleanSets whether gravity applies to this entity.
Invisible (optional)BooleanSets whether the entity is invisible or not.
Invulnerable (optional)BooleanSets whether the entity is invulnerable or not.
No Physics (optional)BooleanSets this entity no physics status.
Op (optional)BooleanSets the operator status of this object
Persistent (optional)BooleanSets whether or not the entity gets persisted.
Portal Cooldown (optional)IntegerSets the period of time (in ticks) before this entity can use a portal.
Pose (optional)PoseSets the entity's current Pose.
Silent (optional)BooleanSets whether the entity is silent or not.
Ticks Lived (optional)IntegerSets the amount of ticks this entity has lived for.
Velocity (optional)VectorSets this entity's velocity in meters per tick
Visible By Default (optional)BooleanSets whether or not this entity is visible by default.
Visual Fire (optional)TriStateSets if the entity has visual fire (it will always appear to be on fire).
OutTypeWhat it is
Affects SpawningBooleanGet whether the player can affect mob spawning
Allow FlightBooleanDetermines if the Player is allowed to fly via jump key double-tap like in creative mode.
Allowing Server ListingsBooleanGets whether the player has the "Allow Server Listings" setting enabled.
Attack CooldownFloatGets the current cooldown for a player's attack.
BannedBooleanChecks if this player has had their profile banned.
Bed LocationLocationGets the location of the bed the player is currently sleeping in
BlockingBooleanCheck if the player is currently blocking (ie with a shield).
Client Brand NameTextReturns player's client brand name.
Client View DistanceIntegerGet the player's current client side view distance.
Compass TargetLocationGet the previously set compass target.
ConnectedBooleanChecks whether the connection to this player is still valid.
ConversingBooleanTests to see of a Conversable object is actively engaged in a conversation.
Cooldown PeriodFloatReturns the amount of ticks the current cooldown lasts
Death Screen ScoreIntegerGet the score that shows in the death screen of the player.
Deeply SleepingBooleanIf the player has slept enough to count towards passing the night.
Enchantment SeedIntegerGets the player's current enchantment seed.
Ender PearlsCollection<EnderPearl>Gets the ender pearls currently associated with this entity.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
ExhaustionFloatGets the players current exhaustion level.
ExpFloatGets the players current experience points towards the next level.
Exp CooldownIntegerGets the player's cooldown between picking up experience orbs.
Exp To LevelIntegerGet the total amount of experience required for the player to level
Experience Points Needed For Next LevelIntegerGets the total amount of experience points that are needed to reach the next level from zero progress towards it.
First PlayedLongGets the first date and time that this player was witnessed on this server.
Fish HookFishHookthe player's fishing hook if they are fishing
Fly SpeedFloatGets the current allowed speed that a client can fly.
FlyingBooleanChecks to see if this player is currently flying or not.
Food LevelIntegerGets the players current food level
Game ModeGameModeGets this human's current GameMode
Health ScaleNumberGets the number that health is scaled to for the client.
Health ScaledBooleanGets if the client is displayed a 'scaled' health, that is, health on a scale from 0-getHealthScale().
Item On CursorItemReturns the ItemStack currently on your cursor, can be empty.
Last Death LocationLocationGets the player's last death location.
Last LoginLongGets the last date and time that this player logged into the server.
Last SeenLongGets the last date and time that this player was seen on the server.
LevelIntegerGets the players current experience level
Listening Plugin ChannelsSet<Text>Gets a set containing all the Plugin Channels that this client is listening on.
LocationLocationGets the player's current location.
Main HandMainHandGets the player's selected main hand
NameText{@inheritDoc}
OnlineBooleanChecks if this player is currently online It should be noted that this will return true if any instance of this player is online!
PingIntegerGets the player's estimated ping in milliseconds.
PlayerPlayerGets a Player object that this represents, if there is one If the player is online, this will return that player.
Player List OrderIntegerGets the relative order that the player is shown on the player list.
Player TimeLongReturns the player's current timestamp.
Player Time OffsetLongReturns the player's current time offset relative to server time, or the current player's fixed time if the player's time is absolute.
Player Time RelativeBooleanReturns true if the player's time is relative to the server time, otherwise the player's time is absolute and will not change its current time unless done so with setPlayerTime().
Player WeatherWeatherTypeReturns the type of weather the player is currently experiencing.
Previous Game ModeGameModeGets this player's previous GameMode
Protocol VersionIntegerReturns the protocol version of the client.
Resource Pack StatusStatusGets the most recent resource pack status from the player.
Respawn LocationLocationGets the Location where the player will spawn at, null if they don't have a valid respawn point.
Saturated Regen RateIntegerGet the regeneration rate (1 health per x ticks) of the HumanEntity when they have saturation and their food level is >= 20.
SaturationFloatGets the players current saturation level.
Send View DistanceIntegerGets the sending view distance for this player.
Sent Chunk KeysSet<Long>Gets the set of chunk keys for all chunks that have been sent to the player.
Simulation DistanceIntegerGets the simulation distance for this player
Sleep TicksIntegerGet the sleep ticks of the player.
Sleeping IgnoredBooleanReturns whether the player is sleeping ignored.
SneakingBooleanReturns if the player is in sneak mode
Spectator TargetEntityGets the entity which is followed by the camera when in SPECTATOR.
SprintingBooleanGets whether the player is sprinting or not.
Starvation RateIntegerGet the starvation rate (1 health per x ticks) of the HumanEntity.
Total ExperienceIntegerGets the players total experience points.
TransferredBooleanGets if this connection has been transferred from another server.
Unique IdUUIDReturns the UUID of this player
Unsaturated Regen RateIntegerGet the regeneration rate (1 health per x ticks) of the HumanEntity when they have no saturation and their food level is >= 18.
View DistanceIntegerGets the view distance for this player
Walk SpeedFloatGets the current allowed speed that a client can walk.
Warden Time Since Last WarningIntegerReturns time since last Warden warning in ticks.
Warden Warning CooldownIntegerReturns the player's cooldown in ticks until the next Warden warning can occur.
Warden Warning LevelIntegerReturns the player's current Warden warning level.
WhitelistedBooleanChecks if this player is whitelisted or not
Absorption AmountNumberGets the entity's absorption amount.
Active ItemItemGets the item being actively "used" or consumed.
Active Item HandEquipmentSlotGet the hand using the active item.
Active Item Remaining TimeIntegerGets the remaining number of ticks for getActiveItem()'s usage.
Active Item Used TimeIntegerGet how long the getActiveItem() has been in use for.
Active Potion EffectsCollection<Potion Effect>Returns all currently active PotionEffects on the living entity.
Arrow CooldownIntegerGets the time in ticks until the next arrow leaves the entity's body.
Arrows In BodyIntegerGets the amount of arrows in an entity's body.
Bee Stinger CooldownIntegerGets the time in ticks until the next bee stinger leaves the entity's body.
Bee Stingers In BodyIntegerGets the amount of bee stingers in an entity's body.
Body YawFloatGets entity body yaw
Can Pickup ItemsBooleanGets if the living entity can pick up items.
ClimbingBooleanGets if the entity is climbing.
CollidableBooleanGets if this entity is subject to collisions with other entities.
Collidable ExemptionsSet<UUID>Gets a mutable set of UUIDs of the entities which are exempt from the entity's collidable rule and which's collision with this entity will behave the opposite of it.
Death SoundSoundGet the Sound this entity will make on death.
Eye HeightNumberGets the height of the living entity's eyes above its Location.
Eye LocationLocationGet a Location detailing the current eye position of the living entity.
Fall Damage Sound BigSoundGet the Sound this entity will make when falling from a large height.
Fall Damage Sound SmallSoundGet the Sound this entity will make when falling from a small height.
Forwards MovementFloatRetrieves the forwards movement direction of the entity.
Friction StateTriStateGets the friction state of this entity.
GlidingBooleanChecks to see if an entity is gliding, such as using an Elytra.
Hand RaisedEquipmentSlotGets the hand raised by this living entity.
Hand Raised TimeIntegerGet how long the entity's hands have been raised (Charging Bow attack, using a potion, etc)
HealthNumberGets the entity's health from 0 to getMaxHealth(), where 0 is dead.
Hurt DirectionFloatGets player hurt direction
Hurt SoundSoundGet the Sound this entity will make when damaged.
Item Use Remaining TimeIntegerGets remaining time a player needs to keep hands raised with an item to finish using it.
JumpingBooleanGet entity jump state.
KillerPlayerGets the player identified as the killer of the living entity.
Last DamageNumberReturns the living entity's last damage taken in the current no damage ticks time.
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Maximum AirIntegerReturns the maximum amount of air the living entity can have, in ticks.
Maximum No Damage TicksIntegerReturns the living entity's current maximum no damage ticks.
No Action TicksIntegerGet the ticks that this entity has performed no action.
No Damage TicksIntegerReturns the living entity's current no damage ticks.
Remaining AirIntegerReturns the amount of air that the living entity has remaining, in ticks.
Remove When Far AwayBooleanReturns if the living entity despawns when away from players or not.
RiptidingBooleanChecks to see if an entity is currently riptiding.
Sideways MovementFloatRetrieves the sideways movement direction of the entity.
SleepingBooleanReturns whether this entity is slumbering.
Sound PitchFloatGet the sound pitch at which this entity plays its sounds with.
Sound VolumeFloatGet the sound volume at which this entity plays its sounds with.
SwimmingBooleanChecks to see if an entity is swimming.
Upwards MovementFloatRetrieves the upwards movement direction of the entity.
Waypoint ColorColorGets the current color of the waypoint icon, if any.
As StringTextGet this entity as an NBT string.
Custom Name VisibleBooleanGets whether or not the mob's custom name is displayed client side.
DeadBooleanReturns true if this entity has been marked for removal.
EmptyBooleanCheck if a vehicle has passengers.
Entity IdIntegerReturns the network protocol ID for this entity.
Entity Spawn ReasonSpawnReason{@return the org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason that initially spawned this entity or null if not yet spawned}
FacingBlockFaceGet the closest cardinal BlockFace direction an entity is currently facing.
Fall DistanceFloatReturns the distance this entity has fallen
Fire TicksIntegerReturns the entity's current fire ticks (ticks before the entity stops being on fire).
Freeze Ticking LockedBooleanGets if the entity currently has its freeze ticks locked to a set amount.
Freeze TicksIntegerReturns the entity's current freeze ticks (amount of ticks the entity has been in powdered snow).
FrozenBooleanGets if the entity is fully frozen (it has been in powdered snow for max freeze ticks).
GlowingBooleanGets whether the entity is glowing or not.
HeightNumberGets the entity's height
In LavaBooleanCheck if entity is in lava
In Powdered SnowBooleanCheck if entity is inside powdered snow.
In RainBooleanCheck if entity is in rain
In WaterBooleanReturns true if the entity is in water.
In WorldBooleanChecks if this entity has been spawned in a world.
Inside VehicleBooleanReturns whether this entity is inside a vehicle.
InvisibleBooleanGets whether the entity is invisible or not.
InvulnerableBooleanGets whether the entity is invulnerable or not.
Max Fire TicksIntegerReturns the entity's maximum fire ticks.
Max Freeze TicksIntegerReturns the entity's maximum freeze ticks (amount of ticks before it will be fully frozen)
OpBooleanChecks if this object is a server operator
OriginLocationGets the location where this entity originates from.
PassengersList<Entity>Gets a list of passengers of this vehicle.
PersistentBooleanReturns true if the entity gets persisted.
Pick Item StackItemGets the ItemStack that a player would select / create (in creative mode) when using the pick block action on this entity.
Piston Move ReactionPistonMoveReactionReturns the reaction of the entity when moved by a piston.
PitchFloatGets this entity's pitch
Portal CooldownIntegerGets the period of time (in ticks) before this entity can use a portal.
PosePoseGets the entity's current pose.
Removal ReasonRemovalReason{@return the reason this entity was removed}
Remove Event CauseCauseGets the cause used for this entity's remove event.
Scoreboard Entry NameTextGets the string name of the entity used to track it in Scoreboards.
Scoreboard TagsSet<Text>Returns a set of tags for this entity.
SilentBooleanGets whether the entity is silent or not.
Sound CategorySoundCategoryGet the SoundCategory this entity will use when playing its sounds.
Spawn CategorySpawnCategoryGet the category of spawn to which this entity belongs.
Swim High Speed Splash SoundSoundGet the Sound this entity makes when splashing in water at high speeds.
Swim SoundSoundGet the Sound this entity makes while swimming.
Swim Splash SoundSoundGet the Sound this entity makes when splashing in water.
TickingBooleanCheck if entity is inside a ticking chunk
Ticks LivedIntegerGets the amount of ticks this entity has lived for.
Tracked BySet<Player>Get all players that are currently tracking this entity.
TypeEntity TypeGet the type of the entity.
Under WaterBooleanCheck if entity is underwater
ValidBooleanReturns false if the entity has died, been despawned for some other reason, or has not been added to the world.
VehicleEntityGet the vehicle that this entity is inside.
VelocityVectorGets this entity's current velocity
Visible By DefaultBooleanGets whether or not this entity is visible by default.
Visual FireTriStateRetrieves the visual fire state of the entity.
WidthNumberGets the entity's width
WorldWorldGets the current world this entity resides in
XNumberGets the x-coordinate of this entity
YNumberGets the y-coordinate of this entity
YawFloatGets this entity's yaw
ZNumberGets the z-coordinate of this entity

Goes on with: Next

Play Sound​

player.play_sound

Play a sound for a player at the location.

InTypeWhat it is
PlayerPlayerRepresents a player, connected or not
LocationLocationThe location to play the sound
SoundSoundThe sound to play
VolumeFloatThe volume of the sound
PitchFloatThe pitch of the sound

Goes on with: Next

Read Player​

player.read

Reads the properties of a Player

InTypeWhat it is
PlayerPlayerRepresents a player, connected or not
OutTypeWhat it is
Affects SpawningBooleanGet whether the player can affect mob spawning
Allow FlightBooleanDetermines if the Player is allowed to fly via jump key double-tap like in creative mode.
Allowing Server ListingsBooleanGets whether the player has the "Allow Server Listings" setting enabled.
Attack CooldownFloatGets the current cooldown for a player's attack.
BannedBooleanChecks if this player has had their profile banned.
Bed LocationLocationGets the location of the bed the player is currently sleeping in
BlockingBooleanCheck if the player is currently blocking (ie with a shield).
Client Brand NameTextReturns player's client brand name.
Client View DistanceIntegerGet the player's current client side view distance.
Compass TargetLocationGet the previously set compass target.
ConnectedBooleanChecks whether the connection to this player is still valid.
ConversingBooleanTests to see of a Conversable object is actively engaged in a conversation.
Cooldown PeriodFloatReturns the amount of ticks the current cooldown lasts
Death Screen ScoreIntegerGet the score that shows in the death screen of the player.
Deeply SleepingBooleanIf the player has slept enough to count towards passing the night.
Enchantment SeedIntegerGets the player's current enchantment seed.
Ender PearlsCollection<EnderPearl>Gets the ender pearls currently associated with this entity.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
ExhaustionFloatGets the players current exhaustion level.
ExpFloatGets the players current experience points towards the next level.
Exp CooldownIntegerGets the player's cooldown between picking up experience orbs.
Exp To LevelIntegerGet the total amount of experience required for the player to level
Experience Points Needed For Next LevelIntegerGets the total amount of experience points that are needed to reach the next level from zero progress towards it.
First PlayedLongGets the first date and time that this player was witnessed on this server.
Fish HookFishHookthe player's fishing hook if they are fishing
Fly SpeedFloatGets the current allowed speed that a client can fly.
FlyingBooleanChecks to see if this player is currently flying or not.
Food LevelIntegerGets the players current food level
Game ModeGameModeGets this human's current GameMode
Health ScaleNumberGets the number that health is scaled to for the client.
Health ScaledBooleanGets if the client is displayed a 'scaled' health, that is, health on a scale from 0-getHealthScale().
Item On CursorItemReturns the ItemStack currently on your cursor, can be empty.
Last Death LocationLocationGets the player's last death location.
Last LoginLongGets the last date and time that this player logged into the server.
Last SeenLongGets the last date and time that this player was seen on the server.
LevelIntegerGets the players current experience level
Listening Plugin ChannelsSet<Text>Gets a set containing all the Plugin Channels that this client is listening on.
LocationLocationGets the player's current location.
Main HandMainHandGets the player's selected main hand
NameText{@inheritDoc}
OnlineBooleanChecks if this player is currently online It should be noted that this will return true if any instance of this player is online!
PingIntegerGets the player's estimated ping in milliseconds.
PlayerPlayerGets a Player object that this represents, if there is one If the player is online, this will return that player.
Player List OrderIntegerGets the relative order that the player is shown on the player list.
Player TimeLongReturns the player's current timestamp.
Player Time OffsetLongReturns the player's current time offset relative to server time, or the current player's fixed time if the player's time is absolute.
Player Time RelativeBooleanReturns true if the player's time is relative to the server time, otherwise the player's time is absolute and will not change its current time unless done so with setPlayerTime().
Player WeatherWeatherTypeReturns the type of weather the player is currently experiencing.
Previous Game ModeGameModeGets this player's previous GameMode
Protocol VersionIntegerReturns the protocol version of the client.
Resource Pack StatusStatusGets the most recent resource pack status from the player.
Respawn LocationLocationGets the Location where the player will spawn at, null if they don't have a valid respawn point.
Saturated Regen RateIntegerGet the regeneration rate (1 health per x ticks) of the HumanEntity when they have saturation and their food level is >= 20.
SaturationFloatGets the players current saturation level.
Send View DistanceIntegerGets the sending view distance for this player.
Sent Chunk KeysSet<Long>Gets the set of chunk keys for all chunks that have been sent to the player.
Simulation DistanceIntegerGets the simulation distance for this player
Sleep TicksIntegerGet the sleep ticks of the player.
Sleeping IgnoredBooleanReturns whether the player is sleeping ignored.
SneakingBooleanReturns if the player is in sneak mode
Spectator TargetEntityGets the entity which is followed by the camera when in SPECTATOR.
SprintingBooleanGets whether the player is sprinting or not.
Starvation RateIntegerGet the starvation rate (1 health per x ticks) of the HumanEntity.
Total ExperienceIntegerGets the players total experience points.
TransferredBooleanGets if this connection has been transferred from another server.
Unique IdUUIDReturns the UUID of this player
Unsaturated Regen RateIntegerGet the regeneration rate (1 health per x ticks) of the HumanEntity when they have no saturation and their food level is >= 18.
View DistanceIntegerGets the view distance for this player
Walk SpeedFloatGets the current allowed speed that a client can walk.
Warden Time Since Last WarningIntegerReturns time since last Warden warning in ticks.
Warden Warning CooldownIntegerReturns the player's cooldown in ticks until the next Warden warning can occur.
Warden Warning LevelIntegerReturns the player's current Warden warning level.
WhitelistedBooleanChecks if this player is whitelisted or not
Absorption AmountNumberGets the entity's absorption amount.
Active ItemItemGets the item being actively "used" or consumed.
Active Item HandEquipmentSlotGet the hand using the active item.
Active Item Remaining TimeIntegerGets the remaining number of ticks for getActiveItem()'s usage.
Active Item Used TimeIntegerGet how long the getActiveItem() has been in use for.
Active Potion EffectsCollection<Potion Effect>Returns all currently active PotionEffects on the living entity.
Arrow CooldownIntegerGets the time in ticks until the next arrow leaves the entity's body.
Arrows In BodyIntegerGets the amount of arrows in an entity's body.
Bee Stinger CooldownIntegerGets the time in ticks until the next bee stinger leaves the entity's body.
Bee Stingers In BodyIntegerGets the amount of bee stingers in an entity's body.
Body YawFloatGets entity body yaw
Can Pickup ItemsBooleanGets if the living entity can pick up items.
ClimbingBooleanGets if the entity is climbing.
CollidableBooleanGets if this entity is subject to collisions with other entities.
Collidable ExemptionsSet<UUID>Gets a mutable set of UUIDs of the entities which are exempt from the entity's collidable rule and which's collision with this entity will behave the opposite of it.
Death SoundSoundGet the Sound this entity will make on death.
Eye HeightNumberGets the height of the living entity's eyes above its Location.
Eye LocationLocationGet a Location detailing the current eye position of the living entity.
Fall Damage Sound BigSoundGet the Sound this entity will make when falling from a large height.
Fall Damage Sound SmallSoundGet the Sound this entity will make when falling from a small height.
Forwards MovementFloatRetrieves the forwards movement direction of the entity.
Friction StateTriStateGets the friction state of this entity.
GlidingBooleanChecks to see if an entity is gliding, such as using an Elytra.
Hand RaisedEquipmentSlotGets the hand raised by this living entity.
Hand Raised TimeIntegerGet how long the entity's hands have been raised (Charging Bow attack, using a potion, etc)
HealthNumberGets the entity's health from 0 to getMaxHealth(), where 0 is dead.
Hurt DirectionFloatGets player hurt direction
Hurt SoundSoundGet the Sound this entity will make when damaged.
Item Use Remaining TimeIntegerGets remaining time a player needs to keep hands raised with an item to finish using it.
JumpingBooleanGet entity jump state.
KillerPlayerGets the player identified as the killer of the living entity.
Last DamageNumberReturns the living entity's last damage taken in the current no damage ticks time.
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Maximum AirIntegerReturns the maximum amount of air the living entity can have, in ticks.
Maximum No Damage TicksIntegerReturns the living entity's current maximum no damage ticks.
No Action TicksIntegerGet the ticks that this entity has performed no action.
No Damage TicksIntegerReturns the living entity's current no damage ticks.
Remaining AirIntegerReturns the amount of air that the living entity has remaining, in ticks.
Remove When Far AwayBooleanReturns if the living entity despawns when away from players or not.
RiptidingBooleanChecks to see if an entity is currently riptiding.
Sideways MovementFloatRetrieves the sideways movement direction of the entity.
SleepingBooleanReturns whether this entity is slumbering.
Sound PitchFloatGet the sound pitch at which this entity plays its sounds with.
Sound VolumeFloatGet the sound volume at which this entity plays its sounds with.
SwimmingBooleanChecks to see if an entity is swimming.
Upwards MovementFloatRetrieves the upwards movement direction of the entity.
Waypoint ColorColorGets the current color of the waypoint icon, if any.
As StringTextGet this entity as an NBT string.
Custom Name VisibleBooleanGets whether or not the mob's custom name is displayed client side.
DeadBooleanReturns true if this entity has been marked for removal.
EmptyBooleanCheck if a vehicle has passengers.
Entity IdIntegerReturns the network protocol ID for this entity.
Entity Spawn ReasonSpawnReason{@return the org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason that initially spawned this entity or null if not yet spawned}
FacingBlockFaceGet the closest cardinal BlockFace direction an entity is currently facing.
Fall DistanceFloatReturns the distance this entity has fallen
Fire TicksIntegerReturns the entity's current fire ticks (ticks before the entity stops being on fire).
Freeze Ticking LockedBooleanGets if the entity currently has its freeze ticks locked to a set amount.
Freeze TicksIntegerReturns the entity's current freeze ticks (amount of ticks the entity has been in powdered snow).
FrozenBooleanGets if the entity is fully frozen (it has been in powdered snow for max freeze ticks).
GlowingBooleanGets whether the entity is glowing or not.
HeightNumberGets the entity's height
In LavaBooleanCheck if entity is in lava
In Powdered SnowBooleanCheck if entity is inside powdered snow.
In RainBooleanCheck if entity is in rain
In WaterBooleanReturns true if the entity is in water.
In WorldBooleanChecks if this entity has been spawned in a world.
Inside VehicleBooleanReturns whether this entity is inside a vehicle.
InvisibleBooleanGets whether the entity is invisible or not.
InvulnerableBooleanGets whether the entity is invulnerable or not.
Max Fire TicksIntegerReturns the entity's maximum fire ticks.
Max Freeze TicksIntegerReturns the entity's maximum freeze ticks (amount of ticks before it will be fully frozen)
OpBooleanChecks if this object is a server operator
OriginLocationGets the location where this entity originates from.
PassengersList<Entity>Gets a list of passengers of this vehicle.
PersistentBooleanReturns true if the entity gets persisted.
Pick Item StackItemGets the ItemStack that a player would select / create (in creative mode) when using the pick block action on this entity.
Piston Move ReactionPistonMoveReactionReturns the reaction of the entity when moved by a piston.
PitchFloatGets this entity's pitch
Portal CooldownIntegerGets the period of time (in ticks) before this entity can use a portal.
PosePoseGets the entity's current pose.
Removal ReasonRemovalReason{@return the reason this entity was removed}
Remove Event CauseCauseGets the cause used for this entity's remove event.
Scoreboard Entry NameTextGets the string name of the entity used to track it in Scoreboards.
Scoreboard TagsSet<Text>Returns a set of tags for this entity.
SilentBooleanGets whether the entity is silent or not.
Sound CategorySoundCategoryGet the SoundCategory this entity will use when playing its sounds.
Spawn CategorySpawnCategoryGet the category of spawn to which this entity belongs.
Swim High Speed Splash SoundSoundGet the Sound this entity makes when splashing in water at high speeds.
Swim SoundSoundGet the Sound this entity makes while swimming.
Swim Splash SoundSoundGet the Sound this entity makes when splashing in water.
TickingBooleanCheck if entity is inside a ticking chunk
Ticks LivedIntegerGets the amount of ticks this entity has lived for.
Tracked BySet<Player>Get all players that are currently tracking this entity.
TypeEntity TypeGet the type of the entity.
Under WaterBooleanCheck if entity is underwater
ValidBooleanReturns false if the entity has died, been despawned for some other reason, or has not been added to the world.
VehicleEntityGet the vehicle that this entity is inside.
VelocityVectorGets this entity's current velocity
Visible By DefaultBooleanGets whether or not this entity is visible by default.
Visual FireTriStateRetrieves the visual fire state of the entity.
WidthNumberGets the entity's width
WorldWorldGets the current world this entity resides in
XNumberGets the x-coordinate of this entity
YNumberGets the y-coordinate of this entity
YawFloatGets this entity's yaw
ZNumberGets the z-coordinate of this entity

Run Command As Player​

player.run_command

Runs a command as a player, with their permissions. {player}, {world}, {x}, {y} and {z} are filled in like for Run Command

InTypeWhat it is
PlayerPlayerThe player who runs it
CommandTextThe command, without the slash

Goes on with: Next