This commit is contained in:
@@ -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
|
@@ -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
|
7
data/lzstools_chisel/function/select/start.mcfunction
Normal file
7
data/lzstools_chisel/function/select/start.mcfunction
Normal 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
|
Reference in New Issue
Block a user