Compare commits

..

No commits in common. "main" and "2.4.3-1.21.5" have entirely different histories.

3 changed files with 8 additions and 12 deletions

View File

@ -1,6 +0,0 @@
# No Shulkers
$execute if items entity @s hotbar.$(chosen_slot) #minecraft:shulker_boxes run return fail
$setblock ~ -64 ~ $(temp_id)
setblock ~ -64 ~ bedrock
$data modify storage lzstools:chisel chosen_block set value "$(temp_id)"

View File

@ -1,2 +1,6 @@
function lzstools_chisel:select/block_macro with storage lzstools:chisel # No Shulkers
data remove storage lzstools:chisel temp_id $execute if items entity @s hotbar.$(chosen_slot) #minecraft:shulker_boxes run return fail
$execute if items entity @s hotbar.$(chosen_slot) #minecraft:air run return fail
$setblock ~ -64 ~ $(chosen_block)
setblock ~ -64 ~ bedrock

View File

@ -1,4 +1,2 @@
$data modify storage lzstools:chisel temp_id set from entity @s Inventory[{Slot:$(chosen_slot)b}].id $data modify storage lzstools:chisel chosen_block set from entity @s Inventory[{Slot:$(chosen_slot)b}].id
function lzstools_chisel:select/check_block with storage lzstools:chisel function lzstools_chisel:select/check_block with storage lzstools:chisel
setblock ~ -64 ~ bedrock