Resolved Chisel Block Place durability AGAIN
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s
This commit is contained in:
parent
c8a6e5938f
commit
dec09d4a44
@ -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)"
|
@ -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
|
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user