Skip to main content

Entities

Entities Near Entity​

entity.nearby_entities

Entities within a box around an entity, without the entity itself

InTypeWhat it is
EntityEntityThe centre of the search
XNumberHow far to search east and west
YNumberHow far to search up and down
ZNumberHow far to search north and south
OutTypeWhat it is
ResultList<Entity>The entities in that box; on Folia empty when the box reaches into another region

Equip​

equipment.equip

Stores the ItemStack at the given equipment slot in the inventory.

InTypeWhat it is
EquipmentEntityEquipmentAn interface to a creatures inventory
SlotEquipmentSlotthe slot to put the ItemStack
ItemItemthe ItemStack to set

Goes on with: Next

Explode​

creeper.explode

Makes this Creeper explode instantly.

InTypeWhat it is
CreeperCreeperRepresents a Creeper

Goes on with: Next

Ignite​

creeper.ignite

Ignites this Creeper, beginning its fuse.

InTypeWhat it is
CreeperCreeperRepresents a Creeper

Goes on with: Next

Item In Slot​

equipment.item_in_slot

Gets the ItemStack at the given equipment slot in the inventory.

InTypeWhat it is
EquipmentEntityEquipmentAn interface to a creatures inventory
SlotEquipmentSlotthe slot to get the ItemStack
OutTypeWhat it is
ResultItemthe ItemStack in the given slot

Mutate Attribute​

attribute.mutate

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

InTypeWhat it is
AttributeAttributeInstanceRepresents a mutable instance of an attribute and its associated modifiers and values.
Base Value (optional)NumberSet the base value of this instance.
OutTypeWhat it is
AttributeAttributeThe attribute pertaining to this instance.
Base ValueNumberBase value of this instance before modifiers are applied.
ValueNumberGet the value of this instance after all associated modifiers have been applied.

Goes on with: Next

Mutate Creeper​

creeper.mutate

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

InTypeWhat it is
CreeperCreeperRepresents a Creeper
Explosion Radius (optional)IntegerSet the explosion radius in which this Creeper's explosion will affect.
Fuse Ticks (optional)IntegerSet the fuse ticks for this Creeper, where the ticks is the amount of time in which a creeper has been in the primed state.
Ignited (optional)BooleanSet whether creeper is ignited or not (armed to explode)
Max Fuse Ticks (optional)IntegerSet the maximum fuse ticks for this Creeper, where the maximum ticks is the amount of time in which a creeper is allowed to be in the primed state before exploding.
Powered (optional)BooleanSets the Powered status of this Creeper
Aggressive (optional)BooleanSome mobs will raise their arm(s) when aggressive, see isAggressive() for full list.
Aware (optional)BooleanSets whether this mob is aware of its surroundings.
Leash Holder (optional)EntitySets the leash on this entity to be held by the supplied entity.
Left Handed (optional)BooleanSet if Mob is left-handed
Seed (optional)LongSet the seed used when this Loot Table generates loot.
Target (optional)Living EntityInstructs this Mob to set the specified LivingEntity as its target.
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.
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.
Sneaking (optional)BooleanSets the sneak mode the entity.
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
Explosion RadiusIntegerGet the explosion radius in which this Creeper's explosion will affect.
Fuse TicksIntegerGet the maximum fuse ticks for this Creeper, where the ticks is the amount of time in which a creeper has been in the primed state.
IgnitedBooleanCheck if creeper is ignited or not (armed to explode)
IgniterEntityGets the entity which ignited the creeper, if available.
Max Fuse TicksIntegerGet the maximum fuse ticks for this Creeper, where the maximum ticks is the amount of time in which a creeper is allowed to be in the primed state before exploding.
PoweredBooleanChecks if this Creeper is powered (Electrocuted)
AggressiveBooleanSome mobs will raise their arm(s) when aggressive: Drowned Piglin Skeleton Zombie ZombieVillager Illusioner Vindicator Panda Pillager PiglinBrute Note: This doesn't always show the actual aggressive state as set by setAggressive(boolean).
Ambient SoundSoundGet the Sound this mob makes while ambiently existing.
AwareBooleanGets whether this mob is aware of its surroundings.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
Head Rotation SpeedIntegerGets the head rotation speed
In DaylightBooleanCheck if this mob is exposed to daylight
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Left HandedBooleanCheck if Mob is left-handed
Max Head PitchIntegerGets the max head pitch rotation
Possible Experience RewardIntegerGets the amount of experience the mob will possibly drop.
SeedLongGet the Loot Table's seed.
TargetLiving EntityGets the current target of this Mob
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.
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Mutate Entity​

entity.mutate

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

InTypeWhat it is
EntityEntityRepresents a base entity in the world Not all methods are guaranteed to work/may have side effects when isInWorld() is false.
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.
Sneaking (optional)BooleanSets the sneak mode the entity.
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
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Mutate Mob​

mob.mutate

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

InTypeWhat it is
MobMobRepresents a Mob.
Aggressive (optional)BooleanSome mobs will raise their arm(s) when aggressive, see isAggressive() for full list.
Aware (optional)BooleanSets whether this mob is aware of its surroundings.
Leash Holder (optional)EntitySets the leash on this entity to be held by the supplied entity.
Left Handed (optional)BooleanSet if Mob is left-handed
Seed (optional)LongSet the seed used when this Loot Table generates loot.
Target (optional)Living EntityInstructs this Mob to set the specified LivingEntity as its target.
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.
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.
Sneaking (optional)BooleanSets the sneak mode the entity.
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
AggressiveBooleanSome mobs will raise their arm(s) when aggressive: Drowned Piglin Skeleton Zombie ZombieVillager Illusioner Vindicator Panda Pillager PiglinBrute Note: This doesn't always show the actual aggressive state as set by setAggressive(boolean).
Ambient SoundSoundGet the Sound this mob makes while ambiently existing.
AwareBooleanGets whether this mob is aware of its surroundings.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
Head Rotation SpeedIntegerGets the head rotation speed
In DaylightBooleanCheck if this mob is exposed to daylight
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Left HandedBooleanCheck if Mob is left-handed
Max Head PitchIntegerGets the max head pitch rotation
Possible Experience RewardIntegerGets the amount of experience the mob will possibly drop.
SeedLongGet the Loot Table's seed.
TargetLiving EntityGets the current target of this Mob
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.
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Read Attribute​

attribute.read

Reads the properties of a Attribute

InTypeWhat it is
AttributeAttributeInstanceRepresents a mutable instance of an attribute and its associated modifiers and values.
OutTypeWhat it is
AttributeAttributeThe attribute pertaining to this instance.
Base ValueNumberBase value of this instance before modifiers are applied.
ValueNumberGet the value of this instance after all associated modifiers have been applied.

Read Creeper​

creeper.read

Reads the properties of a Creeper

InTypeWhat it is
CreeperCreeperRepresents a Creeper
OutTypeWhat it is
Explosion RadiusIntegerGet the explosion radius in which this Creeper's explosion will affect.
Fuse TicksIntegerGet the maximum fuse ticks for this Creeper, where the ticks is the amount of time in which a creeper has been in the primed state.
IgnitedBooleanCheck if creeper is ignited or not (armed to explode)
IgniterEntityGets the entity which ignited the creeper, if available.
Max Fuse TicksIntegerGet the maximum fuse ticks for this Creeper, where the maximum ticks is the amount of time in which a creeper is allowed to be in the primed state before exploding.
PoweredBooleanChecks if this Creeper is powered (Electrocuted)
AggressiveBooleanSome mobs will raise their arm(s) when aggressive: Drowned Piglin Skeleton Zombie ZombieVillager Illusioner Vindicator Panda Pillager PiglinBrute Note: This doesn't always show the actual aggressive state as set by setAggressive(boolean).
Ambient SoundSoundGet the Sound this mob makes while ambiently existing.
AwareBooleanGets whether this mob is aware of its surroundings.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
Head Rotation SpeedIntegerGets the head rotation speed
In DaylightBooleanCheck if this mob is exposed to daylight
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Left HandedBooleanCheck if Mob is left-handed
Max Head PitchIntegerGets the max head pitch rotation
Possible Experience RewardIntegerGets the amount of experience the mob will possibly drop.
SeedLongGet the Loot Table's seed.
TargetLiving EntityGets the current target of this Mob
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.
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Read Entity​

entity.read

Reads the properties of a Entity

InTypeWhat it is
EntityEntityRepresents a base entity in the world Not all methods are guaranteed to work/may have side effects when isInWorld() is false.
OutTypeWhat it is
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Read Equipment​

equipment.read

Reads the properties of a Equipment

InTypeWhat it is
EquipmentEntityEquipmentAn interface to a creatures inventory
OutTypeWhat it is
BootsItemGets the boots currently being worn by the entity This returns a copy if this equipment instance is from a non-player.
Boots Drop ChanceFloatGets the chance of the boots being dropped upon this creature's death.
ChestplateItemGets the chest plate currently being worn by the entity This returns a copy if this equipment instance is from a non-player.
Chestplate Drop ChanceFloatGets the chance of the chest plate being dropped upon this creature's death.
HelmetItemGets the helmet currently being worn by the entity This returns a copy if this equipment instance is from a non-player.
Helmet Drop ChanceFloatGets the chance of the helmet being dropped upon this creature's death.
HolderEntityGet the entity this EntityEquipment belongs to
Item In Main HandItemGets the item the entity is currently holding in their main hand.
Item In Main Hand Drop ChanceFloatGets the chance of the main hand item being dropped upon this creature's death.
Item In Off HandItemGets the item the entity is currently holding in their off hand.
Item In Off Hand Drop ChanceFloatGets the chance of the off hand item being dropped upon this creature's death.
LeggingsItemGets the leggings currently being worn by the entity This returns a copy if this equipment instance is from a non-player.
Leggings Drop ChanceFloatGets the chance of the leggings being dropped upon this creature's death.

Read Mob​

mob.read

Reads the properties of a Mob

InTypeWhat it is
MobMobRepresents a Mob.
OutTypeWhat it is
AggressiveBooleanSome mobs will raise their arm(s) when aggressive: Drowned Piglin Skeleton Zombie ZombieVillager Illusioner Vindicator Panda Pillager PiglinBrute Note: This doesn't always show the actual aggressive state as set by setAggressive(boolean).
Ambient SoundSoundGet the Sound this mob makes while ambiently existing.
AwareBooleanGets whether this mob is aware of its surroundings.
EquipmentEntityEquipmentGets the inventory with the equipment worn by the living entity.
Head Rotation SpeedIntegerGets the head rotation speed
In DaylightBooleanCheck if this mob is exposed to daylight
Leash HolderEntityGets the entity that is currently leading this entity.
LeashedBooleanReturns whether the entity is currently leashed.
Left HandedBooleanCheck if Mob is left-handed
Max Head PitchIntegerGets the max head pitch rotation
Possible Experience RewardIntegerGets the amount of experience the mob will possibly drop.
SeedLongGet the Loot Table's seed.
TargetLiving EntityGets the current target of this Mob
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.
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.
LocationLocationGets the entity's current position
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)
NameTextGets the name of this command sender
On GroundBooleanReturns true if the entity is supported by a block.
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.
SneakingBooleanReturns if the entity is in sneak mode
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
Unique IdUUIDReturns a unique and persistent id for this entity
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

Remove Entity​

entity.remove

Mark the entity's removal.

InTypeWhat it is
EntityEntityRepresents a base entity in the world Not all methods are guaranteed to work/may have side effects when isInWorld() is false.

Goes on with: Next

Set Slot Drop Chance​

equipment.set_slot_drop_chance

Sets the drop chance of the specified slot.

InTypeWhat it is
EquipmentEntityEquipmentAn interface to a creatures inventory
SlotEquipmentSlotthe slot to set the drop chance of
ChanceFloatthe drop chance for the slot

Goes on with: Next

Show Above​

entity.show_above

Shows text or an item over an entity for a while; it follows the entity

InTypeWhat it is
EntityEntityWho it floats over
Text (optional)TextWhat it says, MiniMessage like <red>!
Item (optional)ItemAn item to show when there is no text
SecondsNumberHow long it shows

Goes on with: Next

Teleport​

entity.teleport

Moves an entity to a location; the move finishes once the place is loaded

InTypeWhat it is
EntityEntityWho moves
LocationLocationWhere to
OutTypeWhat it is
ResultBooleanTrue: the move has started

Goes on with: Next