So I have 3 command blocks to do something specific, and I'll try to generalize some of the info so nothing is spoiled for the event I've been working on. Anyways.. The idea is that this hopper pops up above a chest, an item spawns above the hopper and then an air block replaces the hopper.
The codes:
/setblock ~1 ~ ~ hopper 0
/summon Item ~1 ~1 ~ {Item:{id:deadbush,Count:1,tag:{display:{Name:"Loot_Key"}}}}
/setblock ~1 ~ ~ air 0
Any chance of making this into one command block line? I've had to break it down into this because just the 1 command block wasn't doing it. And trying to place a chest and put an item inside was also failing.
Any help would be appreciated!
The codes:
/setblock ~1 ~ ~ hopper 0
/summon Item ~1 ~1 ~ {Item:{id:deadbush,Count:1,tag:{display:{Name:"Loot_Key"}}}}
/setblock ~1 ~ ~ air 0
Any chance of making this into one command block line? I've had to break it down into this because just the 1 command block wasn't doing it. And trying to place a chest and put an item inside was also failing.
Any help would be appreciated!