2
1.13 Command Help
ok to sum my issue up I'm trying to find the command to Detect for a item inside a dispenser... but 1.13 messed it all up with execute and I cannot find ANY solutions online, so I'm at A dead end and need help. I can execute if block * * * Minecraft:dispenser but the [] after wont let me add a nbt tag or anything to it other then rotation or triggered...
anyone able to help or had the same problem
please help....
3
Very useful site i think they made a new site for 1.13
The problem is that the outer [] are for block states and {} is for nbt. So rather than specifying [], you specify the {}.
As an example, the following will not work.
This command however will work and say "Test passed" if there is one stone block in the top left slot.
~SUPERIONtheKnight
As an example, the following will not work.
/execute if block x y z minecraft:dispenser[Items:{Slot:0b,id:"minecraft:stone",Count:1b}]]This command however will work and say "Test passed" if there is one stone block in the top left slot.
/execute if block x y z minecraft:dispenser{Items:[{Slot:0b,id:"minecraft:stone",Count:1b}]}~SUPERIONtheKnight
