The Meaning of Life, the Universe, and Everything.
Join Date:
3/26/2012
Posts:
42
Minecraft:
Metalliboy
Xbox:
ICEE Orion
Member Details
For my arena map, "HERO BRAWL VII," one of the heroes has skeletons that are allies as an ability. One of the biggest problems is that they come in the form of spawn eggs, so there is a random chance of them acquiring armor such as a helmet. This is randomness that I don't want for his ability. Another problem is that practically all of them never spawn with helmets rendering them entirely useless in outdoor maps.
I was wondering if anyone knows any code I can put into a command block to make the spawn eggs spawn skeletons with helmets or if there's a way to equip all skeletons with helmets in general (as mobs can't naturally spawn anyways).
Thanks in advance! I will be looking into this as well and I will edit the title to say "Resolved" when I find a solution.
For my arena map, "HERO BRAWL VII," one of the heroes has skeletons that are allies as an ability. One of the biggest problems is that they come in the form of spawn eggs, so there is a random chance of them acquiring armor such as a helmet. This is randomness that I don't want for his ability. Another problem is that practically all of them never spawn with helmets rendering them entirely useless in outdoor maps.
I was wondering if anyone knows any code I can put into a command block to make the spawn eggs spawn skeletons with helmets or if there's a way to equip all skeletons with helmets in general (as mobs can't naturally spawn anyways).
Thanks in advance! I will be looking into this as well and I will edit the title to say "Resolved" when I find a solution.
/replaceitem entity @e slot.armor.head minecraft:leather_helmet 1 0
I have this line of code to force helmets on entities, but that includes my player. Is there a way to make it skeletons only?
/replaceitem entity @e[type=Skeleton] slot.armor.head minecraft:leather_helmet 1 0
If anyone is interested, I used this command in a hopper redstone loop to ensure all skeletons that spawn have helmets upon spawn.