Package-level declarations
Types
Properties
Functions
Add a transient attribute modifier to an entity.
Add delta to a target's score by name.
Add delta to a target Entity's score.
Add delta to a ScoreHolder's score.
Add a trigger score value for a player on a trigger objective.
Give experience levels to a player.
Give experience points to a player.
Applies a LootItemFunction to an ItemStack and returns the modified stack.
Clear all effects from a LivingEntity.
Clear a player's inventory.
Create a team if it does not exist.
Damage an entity by an amount using generic damage.
Damage a target entity from an attacker using a damage type key.
Damage a target entity from an attacker using a DamageType instance.
Damage a target entity from a position using a damage type key.
Damage a target entity from a position using a DamageType instance.
Delete a player team from the scoreboard.
Get drops for a block as if it were broken with a tool.
Generate chest loot from a LootTable.
Generate fishing loot from a LootTable.
Get drops for an entity as if it were killed.
Attempt to deposit item stacks into a container block.
Replace a range of slots in a container block with given item stacks.
Set item stacks into entity slots.
Give item stacks to players (adds copies to inventory).
Enchant the item in an entity's main hand if present.
Execute a command as the provided command source.
Execute a command as the server console.
Get an attribute value from a LivingEntity.
Get base attribute value from a LivingEntity.
Gets an item from a container block slot.
Get the NBT data of a block entity.
Get the NBT data of a block at a position if it has a block entity.
Resolve duration: if i == -1 use IntProvider sampled value; otherwise return i.
Gets an item from an entity slot.
Get the full NBT data of an entity.
Get a player's current GameType.
Get a game rule value from the server overworld.
Get an objective by name.
Get or create a scoreboard Objective.
Get stored command storage NBT by identifier.
Get tags attached to an entity.
Get the current world border size.
Get a player's experience level.
Get a player's experience progress (fraction).
Give recipe advancements to players.
Check if a LivingEntity has a given attribute.
Add members to a PlayerTeam.
Remove a collection of players from any teams.
Find closest biome by resource key.
Find closest biome by tag key.
Locate a structure by ResourceKey.
Locate a structure by TagKey.
Applies a LootItemFunction modifier to a block container slot.
Applies a LootItemFunction to an entity equipment slot.
Place a configured feature at a position.
Place a jigsaw structure from a template pool.
Place a structure by identifier at a position.
Play a sound to a set of players, performing distance attenuation and minimum volume handling.
Sample a random integer in min, max using optional random sequence.
Remove an attribute modifier from an entity.
Remove a specific effect from a LivingEntity.
Remove a count of items from player's inventory.
Clear all random sequences for a level.
Reset all sequences and set new defaults.
Reset a target's score by name.
Reset a target's score by Entity.
Reset a ScoreHolder's score.
Reset a named random sequence for a level to its default seed.
Reset a named random sequence with a specific seed and behavior flags.
Reset waypoint color to default (unset).
Rotate an entity by a Vec2 (pitch, yaw).
Rotate an entity to look at another entity.
Rotate an entity to look at a position.
Run a function (data pack function) with an optional command source.
Set the base attribute value for a LivingEntity.
Sets an item into a container block slot.
Replace the NBT data of a block entity.
Set the NBT of a block entity at the given position.
Set server difficulty.
Sets an item into an entity slot.
Replace the NBT data of an entity.
Set a player's game mode.
Set a game rule value on the server overworld.
Set stored command storage NBT by identifier.
Set thunder weather for specified duration (or sample when -1).
Freeze or unfreeze server tick processing.
Set the server ticking rate.
Set a trigger score value for a player on a trigger objective.
Set waypoint color using an integer color value.
Set waypoint color using ChatFormatting.
Set waypoint style for a waypoint transmitter.
Set world border damage per block amount.
Set world border safe-zone buffer.
Set world border size, optionally over time.
Set world border warning distance in blocks.
Set world border warning time.
Set the world spawn and respawn orientation for a level.
Set a player's experience level.
Simple trigger: increment a trigger objective for a player by 1.
Set spawn point for a collection of players.
Spread players around a center point.
Take recipe advancements from players.
Send a team chat message to a list of players with filtering and formatting.
Teleport a collection of entities to another entity's position.
Teleport a collection of entities to a given position and optionally set rotation.
Teleport a collection of entities to a position and make them look at a position.
Teleport a collection of entities to a position and make them look at an entity.
Send a system message to all players.
Send a system message to multiple players.
Send a system message to a player.
Request the server to sprint tick advancement by given ticks.
Stop sprinting mode on the tick manager.
Stop stepping mode on the tick manager.