mojira.dev
MC-31499

Items spawned in chest with /setblock disappear when a hopper is used to remove the items from the chest

When creating a chest with an item using the the /setblock command:

/setblock ~0 ~0 ~2 minecraft:chest 0 replace {Items:[{id:274,count:1}]}

If I use a hopper below the chest to remove the item, the item disappears entirely and is no longer in the chest or the hopper.

Attachments

Comments 4

Adding the Slot tag as follows does not fix the issue.

/setblock ~0 ~0 ~-2 minecraft:chest 0 destroy {Items:[{id:274,count:1,slot:1}]}

When the command is issued by the command block, the item doesn't just fall into the hopper, it no longer exists in any chest or hopper in the mechanism.

Cannot reproduce. Hopper pulls the items out of the chest for me.
Note that your text string isn't correct. I noted in your other bug, the C and the S need to be Capitalized.

Guess I should pay better attention. Thanks for your help, guys!

Robert Luman

(Unassigned)

Unconfirmed

hopper, setblock

Minecraft 13w37b

Retrieved