hi, im trying to make it so if you put 9 iron ingots in a light blue shulker box, then it removes them and places an iron block in the shulker, this is what i have so far but im getting hung up on actually getting the contents of the box
Code:
on place light blue shulker box:
add event-location to {locations::*}
command /test:
trigger:
set {locnum} to size of {locations::*}
if block at location {locations::locnum} is light blue shulker box:
send "test"
send "%{locnum}%" to player
command /resetloc:
trigger:
set {locnum} to 0
clear {locations::*}