1   2   3
10  11  12
19  20  21
execute align xyz run summon minecraft:armor_stand ~0.5 ~-0.98 ~0.5 {NoGravity:1b,Invulnerable:1b,Small:1b,Marker:1b,Invisible:1b,Tags:["vb046","vb046c"],ArmorItems:[{},{},{},{id:"minecraft:crafting_table",Count:1b,tag:{vb046:[]}}]}
execute if data storage vb:046 0[{Slot:8b}] run data modify storage vb:046 0[{Slot:8b}].Slot set value 21b
execute if data storage vb:046 0[{Slot:7b}] run data modify storage vb:046 0[{Slot:7b}].Slot set value 20b
execute if data storage vb:046 0[{Slot:6b}] run data modify storage vb:046 0[{Slot:6b}].Slot set value 19b
execute if data storage vb:046 0[{Slot:5b}] run data modify storage vb:046 0[{Slot:5b}].Slot set value 12b
execute if data storage vb:046 0[{Slot:4b}] run data modify storage vb:046 0[{Slot:4b}].Slot set value 11b
execute if data storage vb:046 0[{Slot:3b}] run data modify storage vb:046 0[{Slot:3b}].Slot set value 10b
execute if data storage vb:046 0[{Slot:2b}] run data modify storage vb:046 0[{Slot:2b}].Slot set value 3b
execute if data storage vb:046 0[{Slot:1b}] run data modify storage vb:046 0[{Slot:1b}].Slot set value 2b
execute if data storage vb:046 0[{Slot:0b}] run data modify storage vb:046 0[{Slot:0b}].Slot set value 1b


0 4 5 6 7 8 9 13 14 15 17 18 22 23 24 25 26


scoreboard players reset @a vb046g
scoreboard players operation vbx vb046f = @s vb046g
scoreboard players operation vbx vb046g = @s vb046g
scoreboard players operation vbx vb046f -= @s vb046f
scoreboard players operation vbx vb046g -= vbx vb046f
tellraw @a [{"score":{"name":"vbx","objective":"vb046f"},"color":""},{"score":{"name":"vbx","objective":"vb046g"},"color":"green"}]
scoreboard players remove vbx vb046g 2
execute if score vbx vb046g matches 1.. run function vb046:o/2
data remove storage vb:046 3[0]
data remove storage vb:046 2[0]
data remove storage vb:046 0[0]
execute if score vbx vb046f matches 1.. run function vb046:o/3
execute as @e[tag=vb046a] at @s run function vb046:0/1
scoreboard players reset vbx
