Resolved Chisel Block Place durability AGAIN
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s

This commit is contained in:
Mark Rapson 2025-05-22 22:46:18 +01:00
parent c8a6e5938f
commit dec09d4a44
3 changed files with 12 additions and 8 deletions

View File

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

View File

@ -1,2 +1,4 @@
$data modify storage lzstools:chisel chosen_block set from entity @s Inventory[{Slot:$(chosen_slot)b}].id $data modify storage lzstools:chisel temp_id 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