Block procedure blocks

Procedure blocks in the block category.

77
Returns
Inputs
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)
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
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
Convert bucket source to fluid or AIR if conversion fails
Convert bucket [source] to fluid or AIR if conversion failsBlock · Block
Convert source to or AIR if conversion fails
Convert [source] to or AIR if conversion failsBlock · Block
Convert registry name registryname to block or AIR if conversion fails
Convert registry name [registryname] to block or AIR if conversion failsBlock · Block
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
Get fluid as block at x: x y: y z: z
Get fluid as block at x: [x] y: [y] z: [z]Block · Block