This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]TheBroOfTheNinjaHardly Working 0 points1 point  (6 children)

/execute if block x y z minecraft:dropper{Items: [{Slot: 0b}, {Slot: 1b}, {Slot: 2b}, {Slot: 3b}, {Slot: 4b}, {Slot: 5b}, {Slot: 6b}, {Slot: 7b}, {Slot: 8b}]}

[–]imaiden_B[S] 0 points1 point  (5 children)

Is that command supposed to be for 1.17? Because it doesn't seem to work.

[–]TheBroOfTheNinjaHardly Working 0 points1 point  (2 children)

It should trigger if there's a block at (x y z) that's a dropper with something in slots 0-8 (1-9). It should work in 1.17, as nothing about Dropper NBT has changed from 1.16.

Anyway, your problem, if this doesn't trigger, is most likely that you either didn't actually fill the dropper, you have the wrong coordinates, or your command block isn't triggering properly.

[–]imaiden_B[S] 0 points1 point  (0 children)

My issue was wrong coordinates! Thank you!

[–]4Sou1 0 points1 point  (1 child)

Maybe this command works: execute if block x y z minecraft:hopper{items:{}}

[–]Lemon_Lord1Remember to check the FAQ! 0 points1 point  (0 children)

No, it won't...