2

1.13 Command Help

rainbow_donut •2/2/19 6:10 pm
•
166
•
2/3/2019 5:32 am

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....

Posted by
rainbow_donut
Level 11 : Journeyman System
6

  Have something to say?

Join • Sign in

3

Gilran
• 02/03/2019 4:41 am
• Level 26 : Expert Fisherman
I use this command generator and I think this is the best on the NET.




https://mcstacker.net/
1
XENX-SMP
• 02/03/2019 5:32 am
• Level 11 : Journeyman Mage
Very useful site i think they made a new site for 1.13
1
SUPERIONtheKnight
• 02/02/2019 8:52 pm
• Level 30 : Artisan System
history
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.
/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
2

Welcome