Do nothing is empty slot
All checks were successful
Draft Release / deploy-prod (push) Successful in 5s

This commit is contained in:
Mark Rapson 2025-05-22 21:26:34 +01:00
parent a4ef6ca5f0
commit ce728ebd2b
2 changed files with 5 additions and 1 deletions

View File

@ -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
data remove storage lzstools:chisel chosen_slot
scoreboard players set @s lzt_chisel_damage 0
scoreboard players set @s lzt_chisel_max_damage 1

View File

@ -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