Blockdata clearing chest instead of putting item in chest
//ads -- adsterra.com -- native banner
?>
I am trying to put a wet sponge in a chest with the following command:
/blockdata -190 56 -401 {Items:[:{Count:1,Slot:4,id:sponge:1}]}
The sponge:1 should give me a wet sponge, but instead it just clears the chest.
How can I put a wet sponge in a chest?
Best Answer
If you're trying to add it to the chest without overwriting its existing contents, your only option is to temporarily create a hopper that will feed the chest. Unfortunately there isn't a way to add or remove individual elements in a list tag, such as item stacks in a container, using /blockdata.
Pictures about "Blockdata clearing chest instead of putting item in chest"



What is the fastest way to empty 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.How do you use the Blockdata command in Minecraft?
Look at the chest, hold ctrl , and press your pick block button (configurable in options). This should give you a chest item with identical NBT data.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: Ryanniel Masucol, David Bartus, cottonbro, Ron Lach
