Resolved Chisel Block Place durability AGAIN
This commit is contained in:
1 parent
c8a6e5938f
commit
dec09d4a44
3 files changed
+11
-7
No files matched your search
@@ -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
|
||||
$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
|
||||
function lzstools_chisel:select/block_macro with storage lzstools:chisel
|
||||
data remove storage lzstools:chisel temp_id
|
||||
@@ -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
|
||||
setblock ~ -64 ~ bedrock
|
||||
Reference in new issue
Block a user