Using /blockdata, won't put certain items in chest

Using /blockdata, won't put certain items in chest - Anonymous hipster man putting decor on wall in new house

I'm making a maze in Minecraft 1.10 and I have a supply chest at the entrance. I would like to make it so that once you finish the maze, you take a minecart to the beginning and before starting the maze again, you press a button that resets the chest. Here's the code I'm using in the command block:

/blockdata -150 4 -1381 {Items:[{Count:16,Slot:0,id:sign},{Count:16,Slot:25,id:sign},{Count:1,Slot:13,Damage:1,id:iron_sword},{Count:2,Slot:15,id:steak},{Count:5,Slot:20,id:cooked_salmon},{Count:10,Slot:8,id:bread}]}

It only puts the signs, sword, and bread in the chest. I can't figure out how to get the steak and salmon to work. I tried adding a damage value to those two items, but that didn't make any difference. Any suggestions?



Best Answer

you could use the /clone command to clone a hidden sample chest.




Pictures about "Using /blockdata, won't put certain items in chest"

Using /blockdata, won't put certain items in chest - Crop hipster sportsman preparing barbell before exercising on street
Using /blockdata, won't put certain items in chest - Young man putting on VR goggles
Using /blockdata, won't put certain items in chest - Young woman watching movie in headphones in messy room



How do you spawn items in a chest in Minecraft?

Have a quick way to clear all of the Inventory of a Chest, such as opening chest and hitting RT/R1 to remove ALL ITEMS in the chest on console, key binding option for PC such as T , highlight all option on mobile version. This should remove all items, not just a single stack of an item.



Minecraft Commands: /blockdata Tutorial




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

Images: Anete Lusina, Anete Lusina, Eren Li, Andrea Piacquadio