/summon MushroomCow ~ ~ ~ {ActiveEffects:[{id:14,Duration:100000,Amplifier:1,HideParticles:1}],Riding:{id:"Spider",Attributes:[{Name:"generic.maxHealth",Base:10000}],Riding:{id:"Villager",Attributes:[{Name:"generic.maxHealth",Base:10000}],Riding:{id:"Spider",Attributes:[{Name:"generic.maxHealth",Base:10000}],Riding:{id:"Bat",Attributes:[{Name:"generic.maxHealth",Base:10000}]}}}}}
Explanation:
I used a spider to separate the mobs in the end as it's exactly 1 block tall. It is invulnerable to suffocation (because it has like 10000 health).
Also, all mobs have 10000 health, so even when they are stuck in a block because of the bat, they don't die. Change health by changing the number of baseHealth
in this section: Attributes:[{Name:"generic.maxHealth",Base:<HP>}]
To kill the whole stack, first off, you have to make sure all commands blocks are activated at the very same time -- exact same time, or it may result in idling totems of mob towers. Then type in the command /kill @e[type=Bat,c=1,r=<size of the field>]
in command block A
, /kill @e[type=Villager,c=1,r=<size of the field>]
in B
, /kill @e[type=Mooshroom,c=1,r=<size of the field>]
in C
and /kill @e[type=Spider,c=2,r=<size of the field>]
in D
. Then you should be able to kill the whole stack.
I don't have a computer now so I cannot check the code, but feel free to tell me if it worked or not. Thanks!
You cannot set empty NBT tag nor set something to zero count.
Make it another way - Sell two items and let him give you back the one of it - "renewable token".
So you will sell "anything" + "item you want to sell" , and get "anything" back. Yup, you just lost that thing you wanted to get rid of.
/summon Villager ~ ~1 ~ {Silent:1,NoAI:1,Offers:{Recipes:[{maxUses:7,buy:{id:"minecraft:flint",Count:1},buyb:{id:"minecraft:stone",Count:1},sell:{id:"minecraft:stone",Count:1}}]}}
PS: buyb is the second buy tag, as I remember, cannot check now from work :)
Best Answer
When you want to start the trail of particles, use this command, with
X
,Y
andZ
being the coordinates of the center:Run these commands, in order, on a repeating/chain command block loop like the depicted:
A screenshot:
It has been brought to my attention that this method is rather slow. A way to speed it up is simply to make another set of command blocks as below:
I have tested both the functionality and the speedup method and they seem to work. However, if you try it and find a problem, please tell me and I will look into it.