Do nothing is empty slot

This commit is contained in:
lzstealth committed 2025-05-22 21:26:34 +01:00
1 parent a4ef6ca5f0
commit ce728ebd2b
2 files changed
+4

No files matched your search

@@ -7,5 +7,8 @@ execute as @s at @s anchored eyes positioned ^ ^ ^ anchored feet run function lz
# Clean Data
data remove storage lzstools:chisel inventory
data remove storage lzstools:chisel damage
data remove storage lzstools:chisel components
data remove storage lzstools:chisel chosen_block
data remove storage lzstools:chisel chosen_slot
scoreboard players set @s lzt_chisel_damage 0
scoreboard players set @s lzt_chisel_max_damage 1
@@ -1,5 +1,6 @@
# 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