Skip to content

Operations and conditions

565 individually documented entries. Use site search or browse the groups below. Each link has a stable URL.

Select the appropriate target and block family in-game; value transformations belong in Set Variable. Legacy Function/Process picker entries are excluded.

Entry Identifier
Clear Display Block player.clear_display_block
Clear Scoreboard player.scoreboard_clear
Display Block player.display_block
Display Block Fracture player.display_fracture
Display Block Opened State player.block_open
Display Equipment Change player.display_equipment
Display Hologram player.hologram
Display Pick Up Animation player.pickup_animation
Display Sign Text player.display_sign_text
Remove Boss Bar player.boss_bar_remove
Remove Scoreboard Score player.scoreboard_remove
Remove World Border player.border_remove
Send Hurt Animation player.hurt_animation
Send Mob Animation entity.animation
Send Player Attack Animation player.attack_animation
Set Armor Stand Parts entity.armor_stand_parts
Set Armor Stand Pose armorstand.pose
Set Armor Stand Slot Interactions armorstand.slots
Set Block Display Block entity.block_display_block
Set Boss Bar player.boss_bar
Set Display Billboard entity.display_billboard
Set Display Brightness entity.display_brightness
Set Display Culling Size entity.display_culling
Set Display Glow Color entity.display_glow
Set Display Interpolation entity.display_interpolation
Set Display Rotation from Axis-Angle display.axis_angle
Set Display Scale entity.display_scale
Set Display Shadow entity.display_shadow
Set Display Teleport Duration entity.display_teleport
Set Display Transformation Matrix display.matrix
Set Display Translation entity.display_translation
Set Display View Range entity.display_range
Set Dye Color entity.dye_color
Set End Crystal Beam crystal.beam
Set Entity Hidden player.entity_hidden
Set Glowing entity.glowing
Set Invisible entity.invisible
Set Item Display Item entity.item_display_item
Set Item Display Model Type entity.item_display_model
Set Item in Item Frame entity.item_frame_item
Set Marker entity.armor_stand_marker
Set Minecart Block entity.minecart_block
Set Name entity.set_name
Set Name Color entity.name_color
Set Name Visible entity.name_visible
Set Pose entity.pose
Set Projectile Display Item entity.projectile_item
Set Scoreboard Objective Name player.scoreboard_title
Set Scoreboard Score player.scoreboard_score
Set Sidebar Visible player.sidebar
Set Spawn Point player.spawn_point
Set Text Display Background entity.text_display_background
Set Text Display Line Width entity.text_display_width
Set Text Display See-through entity.text_display_see_through
Set Text Display Text entity.text_display_text
Set Text Display Text Alignment entity.text_display_alignment
Set Text Display Text Opacity entity.text_display_opacity
Set Text Display Text Shadow entity.text_display_shadow
Set Visual Fire entity.visual_fire
Set Visual Shoulder Parrot player.shoulder
Set World Border player.border
Shift World Border player.border_shift
Entry Identifier
Get Block Blast Resistance block.resistance
Get Block Data block.data
Get Block Drop Items block.drops
Get Block Growth block.growth
Get Block Hardness block.hardness
Get Block Material block.get
Get Block Material block.material
Get Block Power block.power
Get Container Contents block.container_items
Get Container Lock block.container_lock
Get Container Name block.container_name
Get Lectern Book block.lectern_book
Get Lectern Page block.lectern_page
Get Light Level block.light
Get Sign Text block.sign_text
Set Block Growth plot.growth
Entry Identifier
Block Equals plot.block_is
Block Is Powered plot.block_powered
Bone Meal Block plot.bone_meal
Break Block plot.break_block
Change Sign Text plot.sign_text
Clone Region plot.clone
Generate Tree plot.tree
Is Chunk Loaded plot.chunk_loaded
Is Standing On entity.standing_on
Location Is In Block plot.location_in_block
Random Tick Block plot.random_tick
Set Biome plot.biome
Set Block plot.set_block
Set Block Data plot.block_data
Set Player Head plot.player_head
Set Region plot.set_region
Set Sign Text Color plot.sign_color
Sign Contains Text plot.sign_contains
Entry Identifier
Get Color Channels color.channels
Set to HSB Color color.hsb
Set to RGB Color color.rgb
Entry Identifier
Play Sound player.play_sound
Play Sound from Entity player.entity_sound
Send Message player.send_message
Send Title player.send_title
Set Arrow Hit Sound arrow.hit_sound
Set Silenced entity.silent
Show Action Bar Text player.action_bar
Stop Sounds player.stop_sound
Entry Identifier
Clear Container plot.clear_container
Container Has Item plot.container_has_item
Container Has Room For Item plot.container_has_room
Fill Container plot.fill_container
Remove Container Items plot.container_remove
Set Campfire Item plot.campfire_item
Set Container Contents plot.container_contents
Set Container Lock plot.container_lock
Set Container Name plot.container_name
Set Furnace Cook Time plot.furnace_time
Set Item in Brushable Block plot.brushable_item
Set Item in Container Slot plot.container_slot
Set Lectern Book plot.lectern_book
Entry Identifier
Append Dictionary dictionary.append
Clear Dictionary dictionary.clear
Create Dictionary dictionary.create
Dictionary Has Key dictionary.has_key
Dictionary Has Keys dictionary.has_keys
Dictionary Value Equals dictionary.value_equals
Get Dictionary Keys dictionary.keys
Get Dictionary Size dictionary.size
Get Dictionary Value dictionary.get
Get Dictionary Values dictionary.values
Remove Dictionary Entry dictionary.remove
Set Dictionary Value dictionary.set
Sort Dictionary dictionary.sort
Entry Identifier
Clear Potion Effects living.clear_potions
Display Particle Effect player.particle
Give Potion Effect living.give_potion
Has Potion Effect living.has_potion
Is On Fire entity.is_on_fire
Remove Potion Effect living.remove_potion
Set Fire Ticks entity.set_fire_ticks
Set Freeze Ticks entity.freeze
Set Potion Cloud Radius cloud.radius
Entry Identifier
Is Mob entity.is_mob
Is Near Location entity.near
Is Projectile entity.is_projectile
Is Riding Entity entity.riding
Is Type entity.type_is
Is Valid entity.is_valid
Is Vehicle entity.is_vehicle
Kick player.kick
Name Equals entity.name_equals
Remove entity.remove
Send to Plot player.send_to_plot
Set Persistent entity.persistent
Set Projectile Shooter entity.projectile_shooter
Entry Identifier
Cancel Event plot.cancel
Disable Block Drops event.disable_drops
Enable Block Drops event.enable_drops
Event Is Cancelled plot.cancelled
Game Has Player plot.has_player
Set Event Damage event.damage
Set Event Death Message event.death_message
Set Event Exhaustion event.exhaustion
Set Event Experience event.experience
Set Event Heal Amount event.heal
Set Event Projectile event.projectile
Set Event Sound event.sound
Uncancel Event plot.uncancel
Entry Identifier
Catch control.catch
End Thread control.end
Finally control.finally
Repeat For Each in List loop.list
Repeat Multiple Times loop.repeat
Repeat On Grid loop.blocks
Repeat While · Contains loop.while.contains
Repeat While · Does Not Equal loop.while.not_equal
Repeat While · Equals loop.while.equal
Repeat While · Greater Or Equal loop.while.greater_equal
Repeat While · Greater Than loop.while.greater
Repeat While · Is Assigned loop.while.is_assigned
Repeat While · Less Or Equal loop.while.less_equal
Repeat While · Less Than loop.while.less
Repeat While · Starts With loop.while.starts_with
Return From Function control.return
Throw control.throw
Try control.try
Entry Identifier
Damage living.damage
Give Exhaustion player.give_exhaustion
Give Food player.give_food
Give Saturation player.give_saturation
Heal living.heal
Is Alive living.is_alive
Is Blocking player.is_blocking
Send Mob Attack Animation living.swing
Set Absorption Health living.absorption
Set Arrow Pierce arrow.pierce
Set Arrows Stuck player.arrows
Set Base Arrow Damage arrow.damage
Set Bee Stings Stuck player.stingers
Set Exhaustion Level player.exhaustion
Set Experience player.experience
Set Fall Distance entity.fall_distance
Set Food player.set_food
Set Health living.set_health
Set Invulnerability Ticks living.invulnerability_ticks
Set Maximum Health living.max_health
Set Miscellaneous Attribute living.attribute
Set Remaining Air player.air
Set Saturation Level player.saturation
Entry Identifier
Add Inventory Menu Row player.menu_add_row
Clear Inventory player.clear_inventory
Clear Items player.clear_items
Cursor Item Equals player.cursor_equals
Expand Inventory Menu player.menu_expand
Give Items player.give_items
Has Item player.has_item
Has Item in Slot player.has_slot_item
Has Room For Item player.has_room
Hotbar Slot Equals player.hotbar_equals
Hotbar Slot Equals player.slot_equals
Is Holding Item in Either Hand player.holding
Is Using Item player.using_item
Is Wearing Item player.wearing_item
Item Is Not On Cooldown player.no_item_cooldown
Open Book player.open_book
Open Container Inventory player.open_container
Open Sign player.open_sign
Remove Inventory Menu Row player.menu_remove_row
Remove Items player.remove_items
Replace Items player.replace_items
Set Armor Items player.set_armor
Set Cursor Item player.cursor_item
Set Entity Item item.set_item
Set Equipment Item entity.equipment
Set Hotbar Items player.hotbar_items
Set Hotbar Slot player.selected_slot
Set Inventory Items player.inventory_items
Set Inventory Menu Item player.menu_item
Set Inventory Menu Name player.menu_name
Set Item Cooldown player.item_cooldown
Set Item in Slot player.set_slot
Set Pickup Delay item.pickup_delay
Show Inventory Menu player.show_menu
Entry Identifier
Add Item Enchantment item.add_enchant
Add Item Lore item.append_lore
Clear Item Attributes item.attributes_clear
Clear Item Custom Tags item.tag_clear
Clear Item Enchantments item.clear_enchants
Get Book Text item.book_text
Get Bundle Contents item.bundle_contents
Get Crossbow Projectiles item.crossbow_projectiles
Get Custom Model Data Numbers item.model_numbers
Get Custom Model Data Strings item.model_strings
Get Head Owner item.head_owner
Get Item Color item.color
Get Item Custom Tag item.tag_get
Get Item Durability item.damage
Get Item Enchantments item.enchants
Get Item Lore item.lore
Get Item Lore Line item.lore_line
Get Item Material item.material
Get Item Maximum Stack Size item.max_amount
Get Item Name item.name
Get Item Rarity item.rarity
Get Item Stack Size item.amount
Item Equals item.equals
Item Has Custom Tag item.has_tag
Item Has Enchantment item.has_enchant
Item Is Block item.is_block
Item Is Unbreakable item.is_unbreakable
Remove Item Custom Tag item.tag_remove
Remove Item Enchantment item.remove_enchant
Set Armor Trim item.trim_set
Set Book Text item.set_book_text
Set Bundle Contents item.bundle_set
Set Crossbow Projectiles item.crossbow_set
Set Custom Model Data Numbers item.model_numbers_set
Set Custom Model Data Strings item.model_strings_set
Set Item Color item.set_color
Set Item Custom Tag (Number) item.tag_set_number
Set Item Custom Tag (String) item.tag_set_string
Set Item Durability item.set_damage
Set Item Glowing item.glowing
Set Item Lore item.set_lore
Set Item Material item.set_material
Set Item Maximum Durability item.max_damage
Set Item Maximum Stack Size item.max_stack
Set Item Model item.model_set
Set Item Name item.set_name
Set Item Rarity item.rarity_set
Set Item Stack Size item.set_amount
Set Item Tooltip Hidden item.hide_tooltip
Set Item Tooltip Style item.tooltip_style_set
Set Item Unbreakable item.unbreakable
Set Item Use Leftover item.leftover_set
Entry Identifier
Append List to List list.append_list
Append Value to List list.append
Create List list.create
Get List Index of Value list.index
Get List Length list.length
Get List Value list.get
Insert List Value list.insert
List Contains Value list.contains
List Size Equals list.size_equals
List Value Equals list.value_equals
Randomize List list.shuffle
Remove Duplicate List Elements list.deduplicate
Remove List Value list.remove_value
Remove List Value at Index list.remove
Reverse List list.reverse
Set List Value list.set
Sort List list.sort
Trim List list.trim
Entry Identifier
Align Location location.align
Face Location location.face
Get Item Frame at Location location.item_frame
Get Location Coordinate location.coord
Get Location Direction location.direction
Location Is Near location.near
Raycast from Location location.raycast
Set Location Coordinate location.set_coordinate
Set Location Direction location.set_direction
Set to Center Location location.center
Set to Distance location.distance
Set to Random Location location.random
Shift Location on All Axes location.shift
Shift Location on Vector location.shift_vector
Entry Identifier
Skip Iteration control.continue
Stop Repeat control.break
Entry Identifier
Attach Lead entity.lead
Explode entity.creeper_explode
Get Entity Custom Tag entity.tag_get
Has Wool Color sheep.has_wool_color
Ignite Creeper entity.creeper_ignite
Is Sheared sheep.is_sheared
Ram Target entity.goat_ram
Set AI living.set_ai
Set Allay Dancing entity.allay_dancing
Set Angry entity.angry
Set Animal Age ageable.age
Set Arms Raised zombie.arms_raised
Set Axolotl Pattern entity.axolotl_variant
Set Bee Has Nectar entity.bee_nectar
Set Bee Has Stinger entity.bee_stinger
Set Carrying Chest entity.chest
Set Cat Resting entity.cat_resting
Set Cat Type entity.cat_type
Set Celebrating entity.celebrate
Set Charged creeper.charged
Set Creeper Explosion Power creeper.power
Set Creeper Fuse creeper.fuse
Set Dragon Phase entity.dragon_phase
Set Enderman Held Block entity.enderman_block
Set Fishing Wait Time fishing.wait
Set Fox Leaping entity.fox_leaping
Set Fox Sleeping entity.fox_sleeping
Set Fox Type entity.fox_type
Set Glow Squid Dark Ticks glow_squid.dark_ticks
Set Goat Horns entity.goat_horns
Set Goat Screaming entity.goat_screaming
Set Horse Jump Strength entity.horse_jump
Set Horse Pattern entity.horse_pattern
Set Interaction Responsive entity.interaction_responsive
Set Interaction Size entity.interaction_size
Set Llama Color entity.llama_color
Set Mooshroom Type entity.mooshroom_type
Set Panda Gene entity.panda_gene
Set Panda On Back entity.panda_on_back
Set Panda Rolling entity.panda_rolling
Set Panda Sad Ticks entity.panda_sad
Set Parrot Color entity.parrot_color
Set Rabbit Type entity.rabbit_type
Set Rearing entity.rearing
Set Salmon Type salmon.variant
Set Sheared sheep.set_sheared
Set Shulker Bullet Target shulker_bullet.target
Set Shulker Peek Percent shulker.peek
Set Sitting sittable.sitting
Set Size slime.size
Set Sniffer State entity.sniffer_state
Set Snow Golem Pumpkin entity.snow_golem_pumpkin
Set Temperature Type entity.temperature
Set Tropical Fish Pattern tropical_fish.pattern
Set Vex Charging entity.vex_charging
Set Villager Biome entity.villager_biome
Set Villager Experience entity.villager_exp
Set Villager Profession entity.villager_profession
Set Warden Anger Level warden.anger
Set Wearing Saddle entity.saddle
Set Wolf Sound Type wolf.sound_variant
Set Wolf Type wolf.variant
Set Wool Color sheep.set_wool_color
Set to Baby/Adult ageable.baby
Shear entity.shear
Tame entity.tame
Use Item entity.use_item
Entry Identifier
Boost Elytra player.boost_elytra
Can Fly player.can_fly
Face Location entity.face
Force Flight Mode player.force_flight
Is Flying player.is_flying
Is Gliding living.is_gliding
Is In Water entity.is_in_water
Is On Ground entity.is_on_ground
Is Sneaking player.is_sneaking
Is Sprinting player.is_sprinting
Is Swimming player.is_swimming
Jump mob.jump
Launch player.launch
Launch Forward entity.launch_forward
Launch Projectile entity.launch_projectile
Launch Up entity.launch_up
Move to Location entity.move
Ride Entity entity.ride
Set Allow Flight player.allow_flight
Set Collidable living.collidable
Set Compass Target player.compass
Set Flying player.set_flying
Set Friction entity.friction
Set Gliding living.gliding
Set Gravity entity.set_gravity
Set Riptiding entity.riptiding
Set Rotation entity.rotation
Set Target entity.target
Set Velocity entity.velocity
Set Walk Speed player.walk_speed
Spectate Target player.spectate_target
Teleport entity.teleport
Entry Identifier
Add Numbers (+) math.add
Clamp Number math.clamp
Decrement Number (-=) math.decrement
Divide Numbers (÷) math.divide
Increment Number (+=) math.increment
Linear Interpolation math.interpolate
Multiply Numbers (×) math.multiply
Round Number math.round
Set to Absolute Value math.abs
Set to Arc Tangent of 2 Numbers math.atan2
Set to Average Number math.average
Set to Bitwise Operation math.bitwise
Set to Cosine math.cos
Set to Exponential math.power
Set to Logarithm math.log
Set to Maximum Number math.max
Set to Minimum Number math.min
Set to Normally Distributed Random Number math.normal_random
Set to Random Number number.random
Set to Remainder (%) math.remainder
Set to Root math.root
Set to Sine math.sin
Set to Tangent math.tan
Subtract Numbers (-) math.subtract
Wrap Number math.wrap
Entry Identifier
Get Potion Effect Amplifier potion.amplifier
Get Potion Effect Duration potion.duration
Get Potion Effect Type potion.type
Set Potion Effect Amplifier potion.set_amplifier
Set Potion Effect Duration potion.set_duration
Set Potion Effect Type potion.set_type
Entry Identifier
Allow Placing/Breaking Blocks player.allow_blocks
Close Inventory player.close_inventory
Disallow Placing/Breaking Blocks player.deny_blocks
Give Experience player.give_exp
Has Custom Tag entity.has_tag
Is in Game Mode player.in_game_mode
Remove Entity Custom Tag entity.tag_remove
Reset Player Time player.reset_time
Set Allow Hand Crafting player.hand_crafting
Set Death Drops Enabled living.death_drops
Set Entity Custom Tag (Number) entity.tag_number
Set Entity Custom Tag (String) entity.tag_string
Set Experience Level player.level
Set Experience Progress player.set_exp
Set Game Mode player.set_game_mode
Set Instant Respawn player.instant_respawn
Set Inventory Kept player.keep_inventory
Set Invulnerable entity.set_invulnerable
Set Player Time (Fixed) player.time
Set Player Weather player.weather
Set PvP Allowed player.pvp
Set Scoreboard Default Number Format player.score_format
Set Scoreboard Line Number Format player.score_line_format
ShowDemo player.show_demo
Entry Identifier
Get Sound Pitch sound.pitch
Get Sound Type sound.type
Get Sound Volume sound.volume
Set Sound Pitch sound.set_pitch
Set Sound Type sound.set_type
Set Sound Volume sound.set_volume
Entry Identifier
Create Explosion plot.explosion
Place Item Frame plot.place_item_frame
Spawn Area of Effect Cloud plot.spawn_potion_cloud
Spawn Armor Stand plot.spawn_armor_stand
Spawn Block Display plot.spawn_block_display
Spawn End Crystal plot.spawn_crystal
Spawn Evoker Fangs plot.spawn_fangs
Spawn Experience Orb plot.spawn_experience
Spawn Eye of Ender plot.spawn_ender_eye
Spawn Falling Block plot.spawn_falling_block
Spawn Firework plot.spawn_firework
Spawn Interaction Entity plot.spawn_interaction
Spawn Item plot.spawn_item
Spawn Item Display plot.spawn_item_display
Spawn Mob plot.spawn_mob
Spawn Primed TNT plot.spawn_tnt
Spawn Shulker Bullet plot.spawn_shulker_bullet
Spawn Text Display plot.spawn_text_display
Spawn Vehicle plot.spawn_vehicle
Summon Lightning plot.lightning
Entry Identifier
Clear Formatting text.clear_formatting
Compress to Gzip text.gzip
Decode from Base64 text.base64_decode
Decompress from Gzip text.gunzip
Encode to Base64 text.base64_encode
Format Timestamp text.timestamp
Get All Named Regex Groups text.regex_named
Get All Regex Groups text.regex_groups
Get Index of Substring text.index
Get Regex Capture Group text.regex_group
Get Regex Capture Group (Name) text.regex_named_group
Get String Length text.length
Get Text Content text.content
Get Text Content Length text.content_length
Join String string.join
Parse Number from String text.parse_number
Remove String text.remove
Repeat String text.repeat
Replace String text.replace
Set String Case text.case
Set to String value.text
Split String text.split
String Ends With value.ends_with
String Matches value.string_matches
Translate Legacy Colors text.legacy
Trim String text.trim
Entry Identifier
Wait control.wait
Entry Identifier
Coalesce (??) value.coalesce
Convert JSON to Value value.json_decode
Convert Value to JSON value.json_encode
Number < variable.less
Number > variable.greater
Number ≤ variable.less_equal
Number ≥ variable.greater_equal
String Contains variable.contains
String Starts With variable.starts_with
Value != variable.not_equal
Value = variable.equal
Value Is Empty value.is_empty
Value Is Type value.is_type
Value Is Within Range value.in_range
Variable Exists variable.is_assigned
Entry Identifier
Add Vectors vector.add
Align Vector vector.align
Get Vector Component vector.component
Get Vector Length vector.length
Multiply Vector vector.multiply
Reflect Vector vector.reflect
Rotate Vector Around Vector vector.rotate
Set Vector Component vector.set_component
Set Vector Length vector.set_length
Set to Cross Product vector.cross
Set to Dot Product vector.dot
Set to Vector vector.create
Set to Vector Between Locations vector.between
Subtract Vectors vector.subtract