Added Chisel
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s

This commit is contained in:
2025-05-21 21:26:09 +01:00
parent 2b30e94381
commit 46a6e9ad65
40 changed files with 407 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
# No Shulkers
$execute if items entity @s hotbar.$(chosen_slot) #minecraft:shulker_boxes run return fail
$setblock ~ -64 ~ $(chosen_block)
setblock ~ -64 ~ bedrock

View File

@@ -0,0 +1,2 @@
$data modify storage lzstools:chisel chosen_block set from entity @s Inventory[{Slot:$(chosen_slot)b}].id
function lzstools_chisel:select/check_block with storage lzstools:chisel

View File

@@ -0,0 +1,7 @@
execute store result score @s lzt_chisel_slot run data get entity @s SelectedItemSlot
scoreboard players add @s lzt_chisel_slot 1
execute if score @s lzt_chisel_slot matches 9.. run return fail
execute store result storage lzstools:chisel chosen_slot int 1 run scoreboard players get @s lzt_chisel_slot
# Check Valid Block
function lzstools_chisel:select/get_block with storage lzstools:chisel