Procedure blocks

Every procedure block in the Studio with its inputs, what it returns and which Minecraft versions support it. Filter by category, return type and needs.

Entity 155World 79Block 77Item 54Player 41Command parameters 13Slots & GUI 12Logic 11Damage 10Direction 10Vector 9Minecraft elements 8Math & text 6Projectile 6Advanced 2
493
Category
Returns
Needs
Inputs
Pick from list
Action result of type type ▾
Action result of type [type]Minecraft elements · Action result
Is provided advancement equal to achievement ▾
Is provided advancement equal to [achievement]Logic · True / false
Place block at x: x y: y z: z
Place [block] at x: [x] y: [y] z: [z]Block · Action (no value)
Can block at x: x y: y z: z extract energy on side direction
Can block at x: [x] y: [y] z: [z] extract energy on side [direction]Block · True / false
Can block at x: x y: y z: z receive energy on side direction
Can block at x: [x] y: [y] z: [z] receive energy on side [direction]Block · True / false
Test extracting amount energy from block at x: x y: y z: z from side direction and return amount extracted
Test extracting [amount] energy from block at x: [x] y: [y] z: [z] from side [direction] and return amount extractedBlock · Number
Test sending amount energy to block at x: x y: y z: z to side direction and return amount sent
Test sending [amount] energy to block at x: [x] y: [y] z: [z] to side [direction] and return amount sentBlock · Number
Extract amount energy from block at x: x y: y z: z from side direction if it has energy storage
Extract [amount] energy from block at x: [x] y: [y] z: [z] from side [direction] if it has energy storageBlock · Action (no value)
Get energy of block at x: x y: y z: z on side direction
Get energy of block at x: [x] y: [y] z: [z] on side [direction]Block · Number
Get energy capacity of block at x: x y: y z: z on side direction
Get energy capacity of block at x: [x] y: [y] z: [z] on side [direction]Block · Number
Send amount energy to block at x: x y: y z: z to side direction if it has energy storage
Send [amount] energy to block at x: [x] y: [y] z: [z] to side [direction] if it has energy storageBlock · Action (no value)
Convert fluid block to bucket item
Convert fluid [block] to bucket itemItem · Item
Test draining amount fluid from block at x: x y: y z: z from side direction and return amount drained
Test draining [amount] fluid from block at x: [x] y: [y] z: [z] from side [direction] and return amount drainedBlock · Number
Test filling amount fluid fluid ▾ to block at x: x y: y z: z to side direction and return amount filled
Test filling [amount] fluid [fluid] to block at x: [x] y: [y] z: [z] to side [direction] and return amount filledBlock · Number
Drain amount fluid from block at x: x y: y z: z from side direction if it has fluid tank
Drain [amount] fluid from block at x: [x] y: [y] z: [z] from side [direction] if it has fluid tankBlock · Action (no value)
Fill amount fluid fluid ▾ to block at x: x y: y z: z to side direction if it has fluid tank
Fill [amount] fluid [fluid] to block at x: [x] y: [y] z: [z] to side [direction] if it has fluid tankBlock · Action (no value)
Get level of tank tank of block at x: x y: y z: z on side direction
Get level of tank [tank] of block at x: [x] y: [y] z: [z] on side [direction]Block · Number
Get capacity of tank tank of block at x: x y: y z: z on side direction
Get capacity of tank [tank] of block at x: [x] y: [y] z: [z] on side [direction]Block · Number
Get number of tanks of block at x: x y: y z: z on side direction
Get number of tanks of block at x: [x] y: [y] z: [z] on side [direction]Block · Number
Can amountitem be inserted in slot slotid of block at x: x y: y z: z if it has inventory
Can [amount] [item] be inserted in slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · True / false
Clear slot slotid of block at x: x y: y z: z if it has inventory
Clear slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Deal amount damage to item in slot slotid of block at x: x y: y z: z if it has inventory
Deal [amount] damage to item in slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Extract amount items from slot slotid of block at x: x y: y z: z if it has inventory
Extract [amount] items from slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Extract amount items from slot slotid of block at x: x y: y z: z simulated simulated ▾ and get extracted itemstack if it has inventory
Extract [amount] items from slot [slotid] of block at x: [x] y: [y] z: [z] simulated [simulated] and get extracted itemstack if it has inventoryBlock · Item
Get number of items from slot slotid of block at x: x y: y z: z if it has inventory
Get number of items from slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Number
Get a copy of item from slot slotid of block at x: x y: y z: z if it has inventory
Get a copy of item from slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Item
Get number of slots of block at x: x y: y z: z if it has inventory
Get number of slots of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Number
Get stack limit of slot slotid of block at x: x y: y z: z if it has inventory
Get stack limit of slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Number
Insert amountitem in slot slotid of block at x: x y: y z: z if it has inventory
Insert [amount] [item] in slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Insert amountitem in slot slotid of block at x: x y: y z: z simulated simulated ▾ and get leftover amount if it has inventory
Insert [amount] [item] in slot [slotid] of block at x: [x] y: [y] z: [z] simulated [simulated] and get leftover amount if it has inventoryBlock · Number
Remove amount items from slot slotid of block at x: x y: y z: z if it has inventory
Remove [amount] items from slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Set amountitem in slot slotid of block at x: x y: y z: z if it has inventory
Set [amount] [item] in slot [slotid] of block at x: [x] y: [y] z: [z] if it has inventoryBlock · Action (no value)
Can block be fertilized with bonemeal
Can [block] be fertilized with bonemealBlock · True / false
Is block a fluid
Is [block] a fluidBlock · True / false
Is block a fluid source
Is [block] a fluid sourceBlock · True / false
Is a tagged in block tags as b
Is [a] tagged in block tags as [b]Block · True / false
Is x: x y: y z: z a valid position for block
Is x: [x] y: [y] z: [z] a valid position for [block]Block · True / false
Is block waterloggable
Is [block] waterloggableBlock · True / false
Get NBT itemstack tag tagName of block at x: x y: y z: z if it has block entity
Get NBT itemstack tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entityBlock · Item
Set NBT itemstack tag tagName of block at x: x y: y z: z to tagValue if it has block entity
Set NBT itemstack tag [tagName] of block at x: [x] y: [y] z: [z] to [tagValue] if it has block entityBlock · Action (no value)
Get NBT logic tag tagName of block at x: x y: y z: z if it has block entity
Get NBT logic tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entityBlock · True / false
Set NBT logic tag tagName of block at x: x y: y z: z to tagValue if it has block entity
Set NBT logic tag [tagName] of block at x: [x] y: [y] z: [z] to [tagValue] if it has block entityBlock · Action (no value)
Get NBT number tag tagName of block at x: x y: y z: z if it has block entity
Get NBT number tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entityBlock · Number
Set NBT number tag tagName of block at x: x y: y z: z to tagValue if it has block entity
Set NBT number tag [tagName] of block at x: [x] y: [y] z: [z] to [tagValue] if it has block entityBlock · Action (no value)
Get NBT text tag tagName of block at x: x y: y z: z if it has block entity
Get NBT text tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entityBlock · Text
Set NBT text tag tagName of block at x: x y: y z: z to tagValue if it has block entity
Set NBT text tag [tagName] of block at x: [x] y: [y] z: [z] to [tagValue] if it has block entityBlock · Action (no value)
Update/notify block at x: x y: y z: z
Update/notify block at x: [x] y: [y] z: [z]Block · Action (no value)
Play break effect of block at x: x y: y z: z
Play break effect of [block] at x: [x] y: [y] z: [z]Block · Action (no value)
Random block from tag tag or AIR if no block is found
Random block from tag [tag] or AIR if no block is foundBlock · Block
Get registry name of block
Get registry name of [block]Block · Text
Remove block at x: x y: y z: z
Remove block at x: [x] y: [y] z: [z]Block · Action (no value)
Remove block at x: x y: y z: z drop at x: x2 y: y2 z: z2
Remove block at x: [x] y: [y] z: [z] drop at x: [x2] y: [y2] z: [z2]Block · Action (no value)
Remove block at x: x y: y z: z and spawn break particles
Remove block at x: [x] y: [y] z: [z] and spawn break particlesBlock · Action (no value)
Replace block at x: x y: y z: z with block keep state state ▾ keep NBT/inventory nbt ▾
Replace block at x: [x] y: [y] z: [z] with [block] keep state [state] keep NBT/inventory [nbt]Block · Action (no value)
Schedule tick update of block at x: x y: y z: z in ticks ticks
Schedule tick update of block at x: [x] y: [y] z: [z] in [ticks] ticksBlock · Action (no value)
Set boolean property property of block at x: x y: y z: z to value
Set boolean property [property] of block at x: [x] y: [y] z: [z] to [value]Block · Action (no value)
Set direction of block at x: x y: y z: z to direction
Set direction of block at x: [x] y: [y] z: [z] to [direction]Block · Action (no value)
Set enum property property of block at x: x y: y z: z to value
Set enum property [property] of block at x: [x] y: [y] z: [z] to [value]Block · Action (no value)
Set integer property property of block at x: x y: y z: z to value
Set integer property [property] of block at x: [x] y: [y] z: [z] to [value]Block · Action (no value)
Simulate right click of entity on block at x: x y: y z: z
Simulate right click of [entity] on block at x: [x] y: [y] z: [z]Block · Action (no value)
Get enchant power bonus of block at x: x y: y z: z
Get enchant power bonus of block at x: [x] y: [y] z: [z]Block · Number
Get hardness of a block at x: x y: y z: z
Get hardness of a block at x: [x] y: [y] z: [z]Block · Number
Is side direction of block at x: x y: y z: z solid
Is side [direction] of block at x: [x] y: [y] z: [z] solidBlock · True / false
Is block at x: x y: y z: z solid
Is block at x: [x] y: [y] z: [z] solidBlock · True / false
Get light level of a block at x: x y: y z: z
Get light level of a block at x: [x] y: [y] z: [z]Block · Number
Get opacity of a block at x: x y: y z: z
Get opacity of a block at x: [x] y: [y] z: [z]Block · Number
Convert source to
Convert [source] toItem · Item
Provided blockstate
Provided blockstateMinecraft elements · Block
Get boolean property property of block
Get boolean property [property] of [block]Block · True / false
Get direction of block
Get direction of [block]Block · Direction
Get enum property property of block
Get enum property [property] of [block]Block · Text
Get integer property property of block
Get integer property [property] of [block]Block · Number
block with boolean property property set to value
[block] with boolean property [property] set to [value]Block · Block
block with direction set to value
[block] with direction set to [value]Block · Block
block with enum property property set to value
[block] with enum property [property] set to [value]Block · Block
block with integer property property set to value
[block] with integer property [property] set to [value]Block · Block
Is a the same blockstate as b
Is [a] the same blockstate as [b]Logic · True / false
a = b
[a] = [b]Logic · True / false
a = b
[a] = [b]Logic · True / false
Is a the same entity as b
Is [a] the same entity as [b]Logic · True / false
Is a the same block as b
Is [a] the same block as [b]Logic · True / false
a = b
[a] = [b]Logic · True / false
Is a tagged in item tags as b
Is [a] tagged in item tags as [b]Item · True / false
Log message with log level message_type ▾
Log [message] with log level [message type]Math & text · Action (no value)
Make a copy of source
Make a copy of [source]Item · Item
Damage source of type: damagetype ▾
Damage source of type: [damagetype]Damage · Damage source
Damage source of type: damagetype ▾ caused by: cause
Damage source of type: [damagetype] caused by: [cause]Damage · Damage source
Damage source of type: damagetype ▾ caused by: cause direct cause: directcause
Damage source of type: [damagetype] caused by: [cause] direct cause: [directcause]Damage · Damage source
Get entity that directly caused damagesource
Get entity that directly caused [damagesource]Damage · Entity
Get entity that caused damagesource
Get entity that caused [damagesource]Damage · Entity
Get exhaustion value of damagesource
Get exhaustion value of [damagesource]Damage · Number
Is damagesource caused by a player in creative mode
Is [damagesource] caused by a player in creative modeDamage · True / false
Is damagesource indirect
Is [damagesource] indirectDamage · True / false
Is type of damagesource tagged in damage type tags as tag
Is type of [damagesource] tagged in damage type tags as [tag]Damage · True / false
Is damagesource of type damagetype ▾
Is [damagesource] of type [damagetype]Logic · True / false
Does damagesource scale with difficulty
Does [damagesource] scale with difficultyDamage · True / false
Deal amount damage to entity from source damagesource
Deal [amount] damage to [entity] from source [damagesource]Entity · Action (no value)
Are directions a and b on the same axis
Are directions [a] and [b] on the same axisDirection · True / false
For each direction as _placeholder do foreach
For each direction as [ placeholder] do [foreach]Direction · Action (no value)
For each horizontal direction as _placeholder do foreach
For each horizontal direction as [ placeholder] do [foreach]Direction · Action (no value)
Direction iterator
Direction iteratorMinecraft elements · Direction
X offset of direction direction
X offset of direction [direction]Direction · Number
Y offset of direction direction
Y offset of direction [direction]Direction · Number
Z offset of direction direction
Z offset of direction [direction]Direction · Number
Opposite of direction
Opposite of [direction]Direction · Direction
Random direction
Random directionDirection · Direction
direction rotated 90 de.g. clockwise around Y axis
[direction] rotated 90 de.g. clockwise around Y axisDirection · Direction
direction rotated 90 de.g. counterclockwise around Y axis
[direction] rotated 90 de.g. counterclockwise around Y axisDirection · Direction
Empty itemstack
Empty itemstackMinecraft elements · Item
Add advancement achievement ▾ to entity
Add advancement [achievement] to [entity]Player · Action (no value)
Increase exhaustion of entity by amount
Increase exhaustion of [entity] by [amount]Player · Action (no value)
Add amountitem to entity inventory
Add [amount] [item] to [entity] inventoryPlayer · Action (no value)
Add modifier name ▾ of attribute attribute ▾ with value value operation operation ▾ to entity saved permanent ▾
Add modifier [name] of attribute [attribute] with value [value] operation [operation] to [entity] saved [permanent]Entity · Action (no value)
Add potion potion ▾ with amplifier level for duration ticks to entity
Add potion [potion] with amplifier [level] for [duration] ticks to [entity]Entity · Action (no value)
Add potion potion ▾ with amplifier level for duration ticks ambient ambient particles particles to entity
Add potion [potion] with amplifier [level] for [duration] ticks ambient [ambient] particles [particles] to [entity]Entity · Action (no value)
Add recipe recipe to entity
Add recipe [recipe] to [entity]Player · Action (no value)
Add xpamount XP to entity
Add [xpamount] XP to [entity]Player · Action (no value)
Add xpamount XP levels to entity
Add [xpamount] XP levels to [entity]Player · Action (no value)
Allow entity to build if condition otherwise don''t
Allow [entity] to build if [condition] otherwise don''tPlayer · Action (no value)
Allow entity to fly if condition otherwise don''t
Allow [entity] to fly if [condition] otherwise don''tPlayer · Action (no value)
Armor value of entity
Armor value of [entity]Entity · Number
Does entity have command permission level permissionlevel
Does [entity] have command permission level [permissionlevel]Player · True / false
Is entity creature type type ▾
Is [entity] creature type [type]Entity · True / false
Is entityhand ▾-handed
Is [entity] [hand]-handedEntity · True / false
Is entity in game mode gamemode ▾
Is [entity] in game mode [gamemode]Player · True / false
Clear inventory of entity
Clear inventory of [entity]Player · Action (no value)
Clear all potion effects of entity
Clear all potion effects of [entity]Entity · Action (no value)
Close any GUI open for entity
Close any GUI open for [entity]Player · Action (no value)
Static entity instance of type entity ▾ (no spawning)
Static entity instance of type [entity] (no spawning)Advanced · Entity
For custom entity entity of type customEntity ▾ get integer data parameter accessorField ▾ value
For custom entity [entity] of type [customEntity] get integer data parameter [accessorField] valueEntity · Number
For custom entity entity of type customEntity ▾ set integer data parameter accessorField ▾ value to value
For custom entity [entity] of type [customEntity] set integer data parameter [accessorField] value to [value]Entity · Action (no value)
For custom entity entity of type customEntity ▾ get logic data parameter accessorField ▾ value
For custom entity [entity] of type [customEntity] get logic data parameter [accessorField] valueEntity · True / false
For custom entity entity of type customEntity ▾ set logic data parameter accessorField ▾ value to value
For custom entity [entity] of type [customEntity] set logic data parameter [accessorField] value to [value]Entity · Action (no value)
For custom entity entity of type customEntity ▾ get string data parameter accessorField ▾ value
For custom entity [entity] of type [customEntity] get string data parameter [accessorField] valueEntity · Text
For custom entity entity of type customEntity ▾ set string data parameter accessorField ▾ value to value
For custom entity [entity] of type [customEntity] set string data parameter [accessorField] value to [value]Entity · Action (no value)
Despawn entity
Despawn [entity]Entity · Action (no value)
ID of dimension entity is in
ID of dimension [entity] is inEntity · Dimension
Direction (yaw) in de.g. relative to S of entity
Direction (yaw) in de.g. relative to S of [entity]Entity · Number
Direction of entity
Direction of [entity]Entity · Direction
Disable damage of entity if condition otherwise enable it
Disable damage of [entity] if [condition] otherwise enable itPlayer · Action (no value)
Execute command /command in the name of entity
Execute command /[command] in the name of [entity]Entity · Action (no value)
Execute command /command in the name of entity and get result
Execute command /[command] in the name of [entity] and get resultEntity · Text
Extinguish entity
Extinguish [entity]Entity · Action (no value)
Get eye position of entity
Get eye position of [entity]Entity · Vector
Get food level of entity
Get food level of [entity]Player · Number
Get absorption health level of entity
Get absorption health level of [entity]Player · Number
Get item from armor slot slotid of entity
Get item from armor slot [slotid] of [entity]Entity · Item
Get the base value of attribute attribute ▾ from entity entity
Get the base value of attribute [attribute] from entity [entity]Entity · Number
Get the value (with modifiers) of attribute attribute ▾ from entity entity
Get the value (with modifiers) of attribute [attribute] from entity [entity]Entity · Number
Get passenger that is controlling entity
Get passenger that is controlling [entity]Entity · Entity
Get fall distance of entity
Get fall distance of [entity]Entity · Number
Get remaining ticks on fire of entity
Get remaining ticks on fire of [entity]Entity · Number
Get first passenger of entity
Get first passenger of [entity]Entity · Entity
Get base fly speed parameter of entity
Get base fly speed parameter of [entity]Player · Number
Get entity from UUID uuid
Get entity from UUID [uuid]World · Entity
Get session ID of entity
Get session ID of [entity]Entity · Number
Get oxygen of entity
Get oxygen of [entity]Entity · Number
Get frozen percentage of entity
Get frozen percentage of [entity]Entity · Number
Get the lowest entity that entity is riding, or self if not riding anything
Get the lowest entity that [entity] is riding, or self if not riding anythingEntity · Entity
Get food saturation level of entity
Get food saturation level of [entity]Player · Number
Get entity scoreboard score for score
Get [entity] scoreboard score for [score]World · Number
Get shoot power if projectile_entity is a projectile
Get shoot power if [projectile entity] is a projectileEntity · Number
Get a copy of item from slot slotid of entity if it has inventory
Get a copy of item from slot [slotid] of [entity] if it has inventoryEntity · Item
Get X spawn coordinate of entity for its current world
Get X spawn coordinate of [entity] for its current worldPlayer · Number
Get Y spawn coordinate of entity for its current world
Get Y spawn coordinate of [entity] for its current worldPlayer · Number
Get Z spawn coordinate of entity for its current world
Get Z spawn coordinate of [entity] for its current worldPlayer · Number
Get step height of entity
Get step height of [entity]Entity · Number
Get number of ticks entity has existed for
Get number of ticks [entity] has existed forEntity · Number
Get number of ticks entity has been frozen for
Get number of ticks [entity] has been frozen forEntity · Number
Get item entity is using
Get item [entity] is usingEntity · Item
Get number of ticks entity has been using item for
Get number of ticks [entity] has been using item forEntity · Number
Get UUID of entity
Get UUID of [entity]Entity · Text
Get base walk speed parameter of entity
Get base walk speed parameter of [entity]Player · Number
Get owner of entity if tamed
Get owner of [entity] if tamedEntity · Entity
Get entity entity is riding
Get entity [entity] is ridingEntity · Entity
Get entity entity is targeting for attack
Get entity [entity] is targeting for attackEntity · Entity
Has entity completed advancement achievement ▾
Has [entity] completed advancement [achievement]Player · True / false
Does entity have the attribute attribute ▾
Does [entity] have the attribute [attribute]Entity · True / false
Has entity in inventory item
Has [entity] in inventory [item]Player · True / false
Does entity have modifier name ▾ for attribute attribute ▾
Does [entity] have modifier [name] for attribute [attribute]Entity · True / false
Has entity no-gravity
Has [entity] no-gravityEntity · True / false
Has entity unlocked recipe recipe
Has [entity] unlocked recipe [recipe]Player · True / false
Is GUI guiname ▾ currently opened for entity
Is GUI [guiname] currently opened for [entity]Player · True / false
Has entity active potion potion ▾
Has [entity] active potion [potion]Entity · True / false
Current health of entity
Current health of [entity]Entity · Number
Max health of entity
Max health of [entity]Entity · Number
For each slot of inventory of entity get contents copy as _placeholder do foreach
For each slot of inventory of [entity] get contents copy as [ placeholder] do [foreach]Entity · Action (no value)
Is mob entity attack swinging
Is mob [entity] attack swingingEntity · True / false
Can entity be attacked
Can [entity] be attackedEntity · True / false
Is entity elytra flying
Is [entity] elytra flyingEntity · True / false
Is entity glowing
Is [entity] glowingEntity · True / false
Is entity swimming
Is [entity] swimmingEntity · True / false
Is entity tagged in entity tags as tag
Is [entity] tagged in entity tags as [tag]Entity · True / false
Is entity underwater
Is [entity] underwaterEntity · True / false
Is entity currently aggressive
Is [entity] currently aggressiveEntity · True / false
Is entity alive
Is [entity] aliveEntity · True / false
Is entity being ridden
Is [entity] being riddenEntity · True / false
Is entity blocking
Is [entity] blockingEntity · True / false
Is entity burning
Is [entity] burningEntity · True / false
Is entity a child
Is [entity] a childEntity · True / false
Has entity creative mode ability enabled
Has [entity] creative mode ability enabledPlayer · True / false
Is entity immune to explosions
Is [entity] immune to explosionsEntity · True / false
Is entity immune to fire
Is [entity] immune to fireEntity · True / false
Is entity in lava
Is [entity] in lavaEntity · True / false
Is entity invisible
Is [entity] invisibleEntity · True / false
Is entity invulnerable
Is [entity] invulnerableEntity · True / false
Is entity inside a solid wall
Is [entity] inside a solid wallEntity · True / false
Is entity in water
Is [entity] in waterEntity · True / false
Is entity in water or bubble column
Is [entity] in water or bubble columnEntity · True / false
Is entity in water, rain, or bubble column
Is [entity] in water, rain, or bubble columnEntity · True / false
Is entity leashed
Is [entity] leashedEntity · True / false
Can entity change dimensions
Can [entity] change dimensionsEntity · True / false
Is entity on ground
Is [entity] on groundEntity · True / false
Is entity riding
Is [entity] ridingEntity · True / false
Is entity sleeping
Is [entity] sleepingEntity · True / false
Is entity sneaking
Is [entity] sneakingEntity · True / false
Is entity sprinting
Is [entity] sprintingEntity · True / false
Is entity tamed
Is [entity] tamedEntity · True / false
Is entity tamed by tamedBy
Is [entity] tamed by [tamedBy]Entity · True / false
Item in main-hand of entity
Item in main-hand of [entity]Entity · Item
Item in off-hand of entity
Item in off-hand of [entity]Entity · Item
Look angle vector of entity
Look angle vector of [entity]Entity · Vector
X value of look angle vector of entity
X value of look angle vector of [entity]Entity · Number
Y value of look angle vector of entity
Y value of look angle vector of [entity]Entity · Number
Z value of look angle vector of entity
Z value of look angle vector of [entity]Entity · Number
Block face entity is looking at with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Block face [entity] is looking at with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · Direction
Is entity looking at a block with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Is [entity] looking at a block with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · True / false
Look position of entity with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Look position of [entity] with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · Vector
Look X position of entity with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Look X position of [entity] with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · Number
Look Y position of entity with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Look Y position of [entity] with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · Number
Look Z position of entity with raytrace distance maxdistance fluid mode fluid_mode ▾ block mode block_mode ▾
Look Z position of [entity] with raytrace distance [maxdistance] fluid mode [fluid mode] block mode [block mode]Entity · Number
For each item from loot table location granted to entity as _placeholderfield ▾ do foreach
For each item from loot table [location] granted to [entity] as [ placeholder] do [foreach]Entity · Action (no value)
Make sourceentity ride entity
Make [sourceentity] ride [entity]Entity · Action (no value)
Make entity stop riding entity
Make [entity] stop riding entityEntity · Action (no value)
Tame entity by sourceentity
Tame [entity] by [sourceentity]Entity · Action (no value)
Get (display) name of entity
Get (display) name of [entity]Entity · Text
Get entity custom itemstack NBT tag tagName
Get [entity] custom itemstack NBT tag [tagName]Entity · Item
Set entity custom itemstack NBT tag tagName to tagValue
Set [entity] custom itemstack NBT tag [tagName] to [tagValue]Entity · Action (no value)
Get entity custom logic NBT tag tagName
Get [entity] custom logic NBT tag [tagName]Entity · True / false
Set entity custom logic NBT tag tagName to tagValue
Set [entity] custom logic NBT tag [tagName] to [tagValue]Entity · Action (no value)
Get entity custom number NBT tag tagName
Get [entity] custom number NBT tag [tagName]Entity · Number
Set entity custom number NBT tag tagName to tagValue
Set [entity] custom number NBT tag [tagName] to [tagValue]Entity · Action (no value)
Get entity custom text NBT tag tagName
Get [entity] custom text NBT tag [tagName]Entity · Text
Set entity custom text NBT tag tagName to tagValue
Set [entity] custom text NBT tag [tagName] to [tagValue]Entity · Action (no value)
Open GUI guiname ▾ for entity pass location x: x y: y z: z
Open GUI [guiname] for [entity] pass location x: [x] y: [y] z: [z]Player · Action (no value)
Override fall distance of entity with height blocks for the next tick
Override fall distance of [entity] with [height] blocks for the next tickEntity · Action (no value)
For each direct passenger of entity as _placeholder do foreach
For each direct passenger of [entity] as [ placeholder] do [foreach]Entity · Action (no value)
For each direct or indirect passenger of entity as _placeholder do foreach
For each direct or indirect passenger of [entity] as [ placeholder] do [foreach]Entity · Action (no value)
Attempt to make entity find path and move to x: x y: y z: z with speed factor speed
Attempt to make [entity] find path and move to x: [x] y: [y] z: [z] with speed factor [speed]Entity · Action (no value)
Head pitch of entity in degrees
Head pitch of [entity] in degreesEntity · Number
Position of entity
Position of [entity]Entity · Vector
X position of entity
X position of [entity]Entity · Number
Y position of entity
Y position of [entity]Entity · Number
Z position of entity
Z position of [entity]Entity · Number
Get effect amplifier of potion potion ▾ for entity if active
Get effect amplifier of potion [potion] for [entity] if activeEntity · Number
Get remaining ticks of potion potion ▾ for entity
Get remaining ticks of potion [potion] for [entity]Entity · Number
Push entity with dx: x dy: y dz: z
Push [entity] with dx: [x] dy: [y] dz: [z]Entity · Action (no value)
Get registry name of entity
Get registry name of [entity]Entity · Text
Revoke advancement achievement ▾ from entity
Revoke advancement [achievement] from [entity]Player · Action (no value)
Remove amountitem from entity main inventory
Remove [amount] [item] from [entity] main inventoryPlayer · Action (no value)
Remove modifier name ▾ of attribute attribute ▾ from entity
Remove modifier [name] of attribute [attribute] from [entity]Entity · Action (no value)
Remove recipe recipe from entity
Remove recipe [recipe] from [entity]Player · Action (no value)
Remove specific potion effect potion ▾ from entity
Remove specific potion effect [potion] from [entity]Entity · Action (no value)
Remove amount XP from entity
Remove [amount] XP from [entity]Player · Action (no value)
Remove xpamount XP levels from entity
Remove [xpamount] XP levels from [entity]Player · Action (no value)
Make entity look at x: x y: y z: z
Make [entity] look at x: [x] y: [y] z: [z]Entity · Action (no value)
Run function function in the name entity
Run function [function] in the name [entity]Entity · Action (no value)
Send message text to entity show in action bar: actbar
Send message [text] to [entity] show in action bar: [actbar]Player · Action (no value)
Set item in armor slot slotid of entity
Set [item] in armor slot [slotid] of [entity]Entity · Action (no value)
Set the base value of attribute attribute ▾ to value for entity entity
Set the base value of attribute [attribute] to [value] for entity [entity]Entity · Action (no value)
Try to set custom display name of entity to displayname
Try to set custom display name of [entity] to [displayname]Entity · Action (no value)
Set entity on fire for seconds seconds
Set [entity] on fire for [seconds] secondsEntity · Action (no value)
Make entity fly if condition otherwise don''t
Make [entity] fly if [condition] otherwise don''tPlayer · Action (no value)
Set food level of entity to foodlevel
Set food level of [entity] to [foodlevel]Player · Action (no value)
Set game mode of entity to gamemode ▾
Set game mode of [entity] to [gamemode]Player · Action (no value)
Set health of entity to health
Set health of [entity] to [health]Entity · Action (no value)
Set invisibility of entity to boolean
Set invisibility of [entity] to [boolean]Entity · Action (no value)
Set item in main-hand of entity to amountitem
Set item in main-hand of [entity] to [amount] [item]Entity · Action (no value)
Attempt to override motion vector of entity to vx: vx vy: vy vz: vz
Attempt to override motion vector of [entity] to vx: [vx] vy: [vy] vz: [vz]Entity · Action (no value)
Set no-gravity of entity to gravityValue
Set no-gravity of [entity] to [gravityValue]Entity · Action (no value)
Set item in off-hand of entity to amountitem
Set item in off-hand of [entity] to [amount] [item]Entity · Action (no value)
Set oxygen of entity to air
Set oxygen of [entity] to [air]Entity · Action (no value)
Set rotation of entity yaw: yaw pitch: pitch
Set rotation of [entity] yaw: [yaw] pitch: [pitch]Entity · Action (no value)
Set food saturation of entity to amount
Set food saturation of [entity] to [amount]Player · Action (no value)
Set score score to value on the scoreboard of entity
Set score [score] to [value] on the scoreboard of [entity]World · Action (no value)
Set amountslotitem in slot slotid of entity if it has inventory
Set [amount] [slotitem] in slot [slotid] of [entity] if it has inventoryEntity · Action (no value)
Set sneaking of entity to boolean
Set sneaking of [entity] to [boolean]Entity · Action (no value)
Set entity spawn to x: x y: y z: z
Set [entity] spawn to x: [x] y: [y] z: [z]Player · Action (no value)
Set sprinting of entity to boolean
Set sprinting of [entity] to [boolean]Entity · Action (no value)
Set step height of entity to stepHeight
Set step height of [entity] to [stepHeight]Entity · Action (no value)
Set the attack target of entity to sourceentity
Set the attack target of [entity] to [sourceentity]Entity · Action (no value)
Set number of ticks entity has been frozen for to ticksfrozen
Set number of ticks [entity] has been frozen for to [ticksfrozen]Entity · Action (no value)
Set entity in cobweb for one tick
Set [entity] in cobweb for one tickEntity · Action (no value)
Get height of entity
Get height of [entity]Entity · Number
Get width of entity
Get width of [entity]Entity · Number
Attempt to stop navigation of entity
Attempt to stop navigation of [entity]Entity · Action (no value)
Get submerged height of entity
Get submerged height of [entity]Entity · Number
Swing main hand of entity
Swing main hand of [entity]Entity · Action (no value)
Swing off-hand of entity
Swing off-hand of [entity]Entity · Action (no value)
Switch dimension of entity to dimension ▾
Switch dimension of [entity] to [dimension]Player · Action (no value)
Delta movement of entity
Delta movement of [entity]Entity · Vector
X delta movement of entity
X delta movement of [entity]Entity · Number
Y delta movement of entity
Y delta movement of [entity]Entity · Number
Z delta movement of entity
Z delta movement of [entity]Entity · Number
Get amount of XP needed by entity to gain a level
Get amount of XP needed by [entity] to gain a levelPlayer · Number
Get XP level of entity
Get XP level of [entity]Player · Number
Execute command /command at x: x y: y z: z
Execute command /[command] at x: [x] y: [y] z: [z]World · Action (no value)
Execute command /command at x: x y: y z: z and get result
Execute command /[command] at x: [x] y: [y] z: [z] and get resultWorld · Text
Explode at x: x y: y z: z with power power interaction type: mode ▾
Explode at x: [x] y: [y] z: [z] with power [power] interaction type: [mode]World · Action (no value)
X position of command block position parameter param ▾
X position of command block position parameter [param]Command parameters · Number
Y position of command block position parameter param ▾
Y position of command block position parameter [param]Command parameters · Number
Z position of command block position parameter param ▾
Z position of command block position parameter [param]Command parameters · Number
Get command block parameter param ▾
Get command block parameter [param]Command parameters · Block
For each entity provided by command parameter param ▾ as _placeholder do foreach
For each entity provided by command parameter [param] as [ placeholder] do [foreach]Command parameters · Action (no value)
Get command entity parameter param ▾
Get command entity parameter [param]Command parameters · Entity
Get command item parameter param ▾
Get command item parameter [param]Command parameters · Item
Get command logic parameter param ▾
Get command logic parameter [param]Command parameters · True / false
Get command message parameter param ▾
Get command message parameter [param]Command parameters · Text
Get command number parameter param ▾
Get command number parameter [param]Command parameters · Number
Get resource location parameter param ▾ as a string
Get resource location parameter [param] as a stringCommand parameters · Text
Get command string parameter param ▾
Get command string parameter [param]Command parameters · Text
Get accept-all command parameter with index paramid ▾ as string
Get accept-all command parameter with index [paramid] as stringCommand parameters · Text
Dimension type: dimension ▾
Dimension type: [dimension]Minecraft elements · Dimension
Get entity from session ID id
Get entity from session ID [id]World · Entity
Get localized text for key key
Get localized text for key [key]Math & text · Text
Clear slot slotid of open custom GUI of entity
Clear slot [slotid] of open custom GUI of [entity]Slots & GUI · Action (no value)
Deal amount damage to item in slot slotid of open custom GUI of entity
Deal [amount] damage to item in slot [slotid] of open custom GUI of [entity]Slots & GUI · Action (no value)
Get number of items from slot slotid of open custom GUI of entity
Get number of items from slot [slotid] of open custom GUI of [entity]Slots & GUI · Number
Get item copy from slot slotid of open custom GUI of entity
Get item copy from slot [slotid] of open custom GUI of [entity]Slots & GUI · Item
Get text inside textfield textfield ▾ of open custom GUI of entity
Get text inside textfield [textfield] of open custom GUI of [entity]Slots & GUI · Text
Is checkbox checkbox ▾ checked for open custom GUI of entity
Is checkbox [checkbox] checked for open custom GUI of [entity]Slots & GUI · True / false
Get value of slider slider ▾ for open custom GUI of entity
Get value of slider [slider] for open custom GUI of [entity]Slots & GUI · Number
Remove amount items from slot slotid of open custom GUI of entity
Remove [amount] items from slot [slotid] of open custom GUI of [entity]Slots & GUI · Action (no value)
Set checkbox checkbox ▾ checked state to value for open custom GUI of entity
Set checkbox [checkbox] checked state to [value] for open custom GUI of [entity]Slots & GUI · Action (no value)
Set amountitem in slot slotid of open custom GUI of entity
Set [amount] [item] in slot [slotid] of open custom GUI of [entity]Slots & GUI · Action (no value)
Set text inside textfield textfield ▾ to text for open custom GUI of entity
Set text inside textfield [textfield] to [text] for open custom GUI of [entity]Slots & GUI · Action (no value)
Set value of slider slider ▾ to value for open custom GUI of entity
Set value of slider [slider] to [value] for open custom GUI of [entity]Slots & GUI · Action (no value)
Is the mod with ID modid loaded
Is the mod with ID [modid] loadedAdvanced · True / false
Add enchantment enhancement ▾ with level level to item
Add enchantment [enhancement] with level [level] to [item]Item · Action (no value)
Convert bucket source to fluid or AIR if conversion fails
Convert bucket [source] to fluid or AIR if conversion failsBlock · Block
Can item harvest block
Can [item] harvest [block]Item · True / false
Can item be smelted
Can [item] be smeltedItem · True / false
Is item of rarity rarity ▾
Is [item] of rarity [rarity]Item · True / false
Cooldown item for ticks ticks for entity
Cooldown [item] for [ticks] ticks for [entity]Item · Action (no value)
Deal amount damage to item
Deal [amount] damage to [item]Item · Action (no value)
item enchanted with levels XP levels, include treasure enchantments: treasure
[item] enchanted with [levels] XP levels, include treasure enchantments: [treasure]Item · Item
Get fuel power of item
Get fuel power of [item]Item · Number
Get remaining cooldown percentage of item for entity
Get remaining cooldown percentage of [item] for [entity]Item · Number
Get damage of item
Get damage of [item]Item · Number
Get level of enchantment enhancement ▾ of item
Get level of enchantment [enhancement] of [item]Item · Number
Get food value of item
Get food value of [item]Item · Number
Get max possible damage of item
Get max possible damage of [item]Item · Number
Get type ▾ of potion ▾ as item
Get [type] of [potion] as itemItem · Item
Get saturation value of item
Get saturation value of [item]Item · Number
Is item on cooldown for entity
Is [item] on cooldown for [entity]Item · True / false
Is item enchantable
Is [item] enchantableItem · True / false
Is item enchanted
Is [item] enchantedItem · True / false
Is item food
Is [item] foodItem · True / false
Is item of item type item_type ▾
Is [item] of item type [item type]Item · True / false
Get display name of item
Get display name of [item]Item · Text
Copy data components of a (if it has any) onto b only custom components ignoredefaults ▾
Copy data components of [a] (if it has any) onto [b] only custom components [ignoredefaults]Item · Action (no value)
Get custom data itemstack tag tagName of item
Get custom data itemstack tag [tagName] of [item]Item · Item
Set custom data itemstack tag tagName of item to tagValue
Set custom data itemstack tag [tagName] of [item] to [tagValue]Item · Action (no value)
Get custom data logic tag tagName of item
Get custom data logic tag [tagName] of [item]Item · True / false
Set custom data logic tag tagName of item to tagValue
Set custom data logic tag [tagName] of [item] to [tagValue]Item · Action (no value)
Get custom data number tag tagName of item
Get custom data number tag [tagName] of [item]Item · Number
Set custom data number tag tagName of item to tagValue
Set custom data number tag [tagName] of [item] to [tagValue]Item · Action (no value)
Get custom data text tag tagName of item
Get custom data text tag [tagName] of [item]Item · Text
Set custom data text tag tagName of item to tagValue
Set custom data text tag [tagName] of [item] to [tagValue]Item · Action (no value)
Random item from tag tag or AIR if no item is found
Random item from tag [tag] or AIR if no item is foundItem · Item
Get registry name of item
Get registry name of [item]Item · Text
Set damage of item to amount
Set damage of [item] to [amount]Item · Action (no value)
Set display name of item to displayname
Set display name of [item] to [displayname]Item · Action (no value)
Show item totem-like animation
Show [item] totem-like animationItem · Action (no value)
Get smelting result of item
Get smelting result of [item]Item · Item
Convert item entity source to itemstack
Convert item entity [source] to itemstackEntity · Item
Get a copy of item from slot slotid of item if it has inventory
Get a copy of item from slot [slotid] of [item] if it has inventoryItem · Item
Set amountslotitem in slot slotid of item if it has inventory
Set [amount] [slotitem] in slot [slotid] of [item] if it has inventoryItem · Action (no value)
Get number of items in item
Get number of items in [item]Item · Number
Get max stack size of item
Get max stack size of [item]Item · Number
Grow item for amount
Grow [item] for [amount]Item · Action (no value)
Has item enchantment enhancement ▾
Has [item] enchantment [enhancement]Item · True / false
Is item damageable
Is [item] damageableItem · True / false
Is item damaged
Is [item] damagedItem · True / false
Is item stackable
Is [item] stackableItem · True / false
Itemstack iterator
Itemstack iteratorMinecraft elements · Item
Remove specific enchantment enhancement ▾ from item
Remove specific enchantment [enhancement] from [item]Item · Action (no value)
Set number of items in item to amount
Set number of items in [item] to [amount]Item · Action (no value)
Shrink item for amount
Shrink [item] for [amount]Item · Action (no value)
Provided itemstack
Provided itemstackMinecraft elements · Item
Is compareTo (sub)type of entity ▾
Is [compareTo] (sub)type of [entity]Logic · True / false
Is vector1 the same vector as vector2
Is [vector1] the same vector as [vector2]Logic · True / false
For each item from loot table location as _placeholderfield ▾ do foreach
For each item from loot table [location] as [ placeholder] do [foreach]Item · Action (no value)
value clamped between min: min and max: max
[value] clamped between min: [min] and max: [max]Math & text · Number
Linear interpolation at: t between (at 0): a and (at 1): b
Linear interpolation at: [t] between (at 0): [a] and (at 1): [b]Math & text · Number
Random integer between min: min and max: max included
Random integer between min: [min] and max: [max] includedMath & text · Number
Random number between min: min and max: max
Random number between min: [min] and max: [max]Math & text · Number
Convert source to or AIR if conversion fails
Convert [source] to or AIR if conversion failsBlock · Block
Set location of entity to x: x y: y z: z
Set location of [entity] to x: [x] y: [y] z: [z]Entity · Action (no value)
Place NBT structure file schematic ▾field ▾ at x: x y: y z: z with rotation: rotation ▾ mirror: mirror ▾
Place NBT structure file [schematic] at x: [x] y: [y] z: [z] with rotation: [rotation] mirror: [mirror]World · Action (no value)
Play sound sound ▾ at x: x y: y z: z level: level pitch: pitch category: soundcategory ▾
Play sound [sound] at x: [x] y: [y] z: [z] level: [level] pitch: [pitch] category: [soundcategory]World · Action (no value)
Shoot projectile from entity: entity with speed: speed inaccuracy: inaccuracy
Shoot [projectile] from entity: [entity] with speed: [speed] inaccuracy: [inaccuracy]Projectile · Action (no value)
Shoot projectile from x: x y: y z: z with direction dx: dx dy: dy dz: dz speed: speed inaccuracy: inaccuracy
Shoot [projectile] from x: [x] y: [y] z: [z] with direction dx: [dx] dy: [dy] dz: [dz] speed: [speed] inaccuracy: [inaccuracy]Projectile · Action (no value)
Arrow of type projectile ▾ with damage: damage knockback: knockback piercing: piercing shooter: shooter fire: fire ▾ particles: particles ▾ pickup type: pickup ▾
Arrow of type [projectile] with damage: [damage] knockback: [knockback] piercing: [piercing] shooter: [shooter] fire: [fire] particles: [particles] pickup type: [pickup]Projectile · Projectile
Fireball of type projectile ▾ with acceleration ax: ax ay: ay az: az shooter: shooter
Fireball of type [projectile] with acceleration ax: [ax] ay: [ay] az: [az] shooter: [shooter]Projectile · Projectile
potionType ▾ potion of potion ▾ with acceleration ax: ax ay: ay az: az shooter: shooter
[potionType] potion of [potion] with acceleration ax: [ax] ay: [ay] az: [az] shooter: [shooter]Projectile · Projectile
Throwable projectile of type projectile ▾ with shooter: shooter
Throwable projectile of type [projectile] with shooter: [shooter]Projectile · Projectile
Provided dimension type
Provided dimension typeMinecraft elements · Dimension
Convert registry name registryname to item or AIR if conversion fails
Convert registry name [registryname] to item or AIR if conversion failsItem · Item
Convert registry name registryname to block or AIR if conversion fails
Convert registry name [registryname] to block or AIR if conversion failsBlock · Block
Run function function at x: x y: y z: z
Run function [function] at x: [x] y: [y] z: [z]World · Action (no value)
Set global spawn to x: x y: y z: z
Set global spawn to x: [x] y: [y] z: [z]World · Action (no value)
Set time to time
Set time to [time]World · Action (no value)
Spawn entity: entity ▾ at x: x y: y z: z
Spawn entity: [entity] at x: [x] y: [y] z: [z]World · Action (no value)
Spawn entity: entity ▾ at x: x y: y z: z and get its server-side reference
Spawn entity: [entity] at x: [x] y: [y] z: [z] and get its server-side referenceWorld · Entity
Spawn entity: entity ▾ at x: x y: y z: z with yaw: yaw pitch: pitch
Spawn entity: [entity] at x: [x] y: [y] z: [z] with yaw: [yaw] pitch: [pitch]World · Action (no value)
Spawn entity: entity ▾ at x: x y: y z: z with yaw: yaw pitch: pitch vx: vx vy: vy vz: vz
Spawn entity: [entity] at x: [x] y: [y] z: [z] with yaw: [yaw] pitch: [pitch] vx: [vx] vy: [vy] vz: [vz]World · Action (no value)
Spawn dropped item block at x: x y: y z: z pickup delay: pickUpDelay despawn: despawn ▾
Spawn dropped item [block] at x: [x] y: [y] z: [z] pickup delay: [pickUpDelay] despawn: [despawn]World · Action (no value)
Spawn single client-side particle at x: x y: y z: z with vx: xs vy: ys vz: zs type: particle ▾
Spawn single client-side particle at x: [x] y: [y] z: [z] with vx: [xs] vy: [ys] vz: [zs] type: [particle]World · Action (no value)
Spawn count server-side particles at x: x y: y z: z in area dx: dx dy: dy dz: dz with speed speed type: particle ▾
Spawn [count] server-side particles at x: [x] y: [y] z: [z] in area dx: [dx] dy: [dy] dz: [dz] with speed [speed] type: [particle]World · Action (no value)
Spawn XP orb at x: x y: y z: z with xp amount of xpamount
Spawn XP orb at x: [x] y: [y] z: [z] with xp amount of [xpamount]World · Action (no value)
Strike lightning at x: x y: y z: z effect only: effectOnly ▾
Strike lightning at x: [x] y: [y] z: [z] effect only: [effectOnly]World · Action (no value)
Add entity entity to team name
Add entity [entity] to team [name]World · Action (no value)
Create new team with name name
Create new team with name [name]World · Action (no value)
Delete team with name name
Delete team with name [name]World · Action (no value)
Get team of entity entity
Get team of entity [entity]World · Text
Is friendly fire for team with name name enabled
Is friendly fire for team with name [name] enabledWorld · True / false
Is death message visibility of team name set to visibility ▾
Is death message visibility of team [name] set to [visibility]World · True / false
Is name tag visibility of team name set to visibility ▾
Is name tag visibility of team [name] set to [visibility]World · True / false
Remove entity entity from team name
Remove entity [entity] from team [name]World · Action (no value)
Set death message visibility of team name to visibility ▾
Set death message visibility of team [name] to [visibility]World · Action (no value)
Set friendly fire for team with name name to condition
Set friendly fire for team with name [name] to [condition]World · Action (no value)
Set name tag visibility of team name to visibility ▾
Set name tag visibility of team [name] to [visibility]World · Action (no value)
Get distance between vector1 and vector2
Get distance between [vector1] and [vector2]Vector · Number
vector1vector_opcodes ▾vector2
[vector1] [vector opcodes] [vector2]Vector · Vector
Get length of vector vector
Get length of vector [vector]Vector · Number
Make vector with x: x y: y z: z
Make vector with x: [x] y: [y] z: [z]Vector · Vector
Normalized vector of vector
Normalized vector of [vector]Vector · Vector
Scale vector vector by scaleValue through vector_opcodes ▾
Scale vector [vector] by [scaleValue] through [vector opcodes]Vector · Vector
X component of vector
X component of [vector]Vector · Number
Y component of vector
Y component of [vector]Vector · Number
Z component of vector
Z component of [vector]Vector · Number
Run task after field ▾ticks ticks on server-side field ▾ task do
Run task after [ticks] ticks on server-side task [do]Logic · Action (no value)
Is biome at x: x y: y z: z type biome ▾
Is biome at x: [x] y: [y] z: [z] type [biome]World · True / false
Is biome at x: x y: y z: z tagged in biome tags as tag
Is biome at x: [x] y: [y] z: [z] tagged in biome tags as [tag]World · True / false
Get block direction at x: x y: y z: z
Get block direction at x: [x] y: [y] z: [z]Block · Direction
Get block at x: x y: y z: z
Get block at x: [x] y: [y] z: [z]Block · Block
Can location at x: x y: y z: z see the sky
Can location at x: [x] y: [y] z: [z] see the skyWorld · True / false
Is difficulty in the provided world difficulty ▾
Is difficulty in the provided world [difficulty]World · True / false
Get current world time
Get current world timeWorld · Number
Dimension type of provided world
Dimension type of provided worldWorld · Dimension
Get fluid as block at x: x y: y z: z
Get fluid as block at x: [x] y: [y] z: [z]Block · Block
Get the highest neighbor power of block at x: x y: y z: z
Get the highest neighbor power of block at x: [x] y: [y] z: [z]World · Number
Get redstone power (strong if present, or weak on direction side) of block at x: x y: y z: z
Get redstone power (strong if present, or weak on [direction] side) of block at x: [x] y: [y] z: [z]World · Number
Get heightType ▾ height at x: x z: z
Get [heightType] height at x: [x] z: [z]World · Number
Is block at x: x y: y z: z redstone powered
Is block at x: [x] y: [y] z: [z] redstone poweredWorld · True / false
Has chunk at x: x y: y z: z
Has chunk at x: [x] y: [y] z: [z]World · True / false
Is point point inside solid part of any block
Is point [point] inside solid part of any blockWorld · True / false
Is air at x: x y: y z: z
Is air at x: [x] y: [y] z: [z]World · True / false
Is day in the provided world
Is day in the provided worldWorld · True / false
Is a raid happening at x: x y: y z: z
Is a raid happening at x: [x] y: [y] z: [z]World · True / false
Is raining in the provided world
Is raining in the provided worldWorld · True / false
Is provided world client-side
Is provided world client-sideWorld · True / false
Is thundering in the provided world
Is thundering in the provided worldWorld · True / false
Is x: x y: y z: z inside a village
Is x: [x] y: [y] z: [z] inside a villageWorld · True / false
Get raw light level at x: x y: y z: z
Get raw light level at x: [x] y: [y] z: [z]World · Number
Get light level of type layer ▾ at x: x y: y z: z
Get light level of type [layer] at x: [x] y: [y] z: [z]World · Number
Get logic game rule gamerulesboolean ▾
Get logic game rule [gamerulesboolean]World · True / false
Set logic game rule gamerulesboolean ▾ to gameruleValue
Set logic game rule [gamerulesboolean] to [gameruleValue]World · Action (no value)
Get moon phase factor
Get moon phase factorWorld · Number
Get number game rule gamerulesnumber ▾
Get number game rule [gamerulesnumber]World · Number
Set number game rule gamerulesnumber ▾ to gameruleValue
Set number game rule [gamerulesnumber] to [gameruleValue]World · Action (no value)
Number of players connected to the server
Number of players connected to the serverWorld · Number
Number of players in provided world
Number of players in provided worldWorld · Number
Get current world spawn x coordinate
Get current world spawn x coordinateWorld · Number
Get current world spawn y coordinate
Get current world spawn y coordinateWorld · Number
Get current world spawn z coordinate
Get current world spawn z coordinateWorld · Number
Get biome temperature at x: x y: y z: z
Get biome temperature at x: [x] y: [y] z: [z]World · Number
For each entity except exclude as _placeholder between x1: x1 y1: y1 z1: z1 and x2: x2 y2: y2 z2: z2 do foreach
For each entity except [exclude] as [ placeholder] between x1: [x1] y1: [y1] z1: [z1] and x2: [x2] y2: [y2] z2: [z2] do [foreach]World · Action (no value)
Get nearest entity at x: x y: y z: z in square cube with size range of type entity ▾
Get nearest entity at x: [x] y: [y] z: [z] in square cube with size [range] of type [entity]World · Entity
Does entity exist at x: x y: y z: z in square cube with size range of type entity ▾
Does entity exist at x: [x] y: [y] z: [z] in square cube with size [range] of type [entity]World · True / false
For each entity as _placeholder at x: x y: y z: z in square cube with size range do foreach
For each entity as [ placeholder] at x: [x] y: [y] z: [z] in square cube with size [range] do [foreach]World · Action (no value)
For each player in the current world as _placeholder do foreach
For each player in the current world as [ placeholder] do [foreach]World · Action (no value)
For each item from loot table location granted at x: x y: y z: z as _placeholderfield ▾ do foreach
For each item from loot table [location] granted at x: [x] y: [y] z: [z] as [ placeholder] do [foreach]World · Action (no value)
Place portal for dimension dimension ▾ if properly shaped at x: x y: y z: z
Place portal for dimension [dimension] if properly shaped at x: [x] y: [y] z: [z]World · Action (no value)
Try to place feature: feature ▾ at x: x y: y z: z
Try to place feature: [feature] at x: [x] y: [y] z: [z]World · Action (no value)
Try to place feature: feature ▾ at x: x y: y z: z and get placement success
Try to place feature: [feature] at x: [x] y: [y] z: [z] and get placement successWorld · True / false
Send to chat to all players: text color color ▾ bold bold ▾ italic italic ▾ underlined underlined ▾
Send to chat to all players: [text] color [color] bold [bold] italic [italic] underlined [underlined]World · Action (no value)
Enable rain if condition otherwise, disable it
Enable rain if [condition] otherwise, disable itWorld · Action (no value)
Spawn block as a falling block at x: x y: y z: z
Spawn [block] as a falling block at x: [x] y: [y] z: [z]World · Action (no value)
Do worldstatements in server-side world dimension ▾
Do [worldstatements] in server-side world [dimension]World · Action (no value)
Trigger game event gameevent ▾ at x: x y: y z: z by trigger
Trigger game event [gameevent] at x: [x] y: [y] z: [z] by [trigger]World · Action (no value)
Apply bonemeal action at x: x y: y z: z
Apply bonemeal action at x: [x] y: [y] z: [z]World · Action (no value)