Detecting items in a Dropper

Detecting items in a Dropper - A Person Putting Liquids in the Test Tubes

I am standing on a dropper facing upwards, with 64 stone blocks in the top-left slot, and I am running this command:

/testforblock ~ ~-1 ~ dropper 1 {Items:[{Count:64,Slot:0,id:stone}]}

but for whatever reason, it returns:

the block at (coords) does not have the required NBT keys.


Best Answer

Count and Slot are both bytes, so need a 'b' after them. You also need to specify the full item name:

/testforblock ~ ~-1 ~ dropper 1 {Items:[{Slot:0b,id:minecraft:stone,Count:64b}]}



Pictures about "Detecting items in a Dropper"

Detecting items in a Dropper - Black Box Mod on White and Brown Floral Textile
Detecting items in a Dropper - White and Purple Ice Cream
Detecting items in a Dropper - Anonymous person pouring liquid product on table with pipette



How do you make a dispenser dispense when it has items in it?

A dropper can be used to eject items, or push items into another container.

How do you use the observer with dropper?

Players will need the following items to make an automatic item dropper:
  • Three redstone dust.
  • one repeater.
  • one comparator.
  • one dropper.
  • four building blocks.
  • Chest and hopper (optional)




  • Minecraft 5 Automatic Dispenser/Dropper Designs! Automatically Dispense Items




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Karolina Grabowska, Alesia Kozik, EKATERINA BOLOVTSOVA, Jill Burrow