mojira.dev
MC-41138

Health boost effect not working on zombies

Well, I tried to make a mob with extra health using Attributes via summon command. But that didn't work, so I decided to use potion effects...

What I thought would happen:
Once I give them regeneration & health boost than they would have extra health. For more challenge.

What really happened:
I killed the zombie, but with the normal amount of swings with the sword, Instead of having to do like, ten swings.

How to Reproduce the bug:
put in this command:

/summon Zombie ~ ~ ~ {ActiveEffects:[{Id:21,Amplifier:(Any number),Duration:(Amount)},{Id:10,Amplifier:( Any number),Duration:(Amount)}]}

Comments 3

Yup because of the arguments you chose.

Example Mini-Boss:

summon Zombie ~ ~1 ~ {HealF:100.0f,Attributes:[{Name:"generic:maxHealth",Base:100.0d,zombie.spawnReinforcements:[1.0f]}],CustomName:"Bob",CustomNameVisible:1,Equipment:[{id:137, Count:1}], DropChances:[1.0f]}

THX!. Sorry, I forgot to thank you.
By the way, I think you did that command wrong, try this:

summon Zombie ~ ~1 ~ {HealF:100.0f,Attributes:[{Name:generic.maxHealth,Base:100.0d},{Name:zombie.spawnReinforcements,Base:1.0f}],CustomName:Bob,CustomNameVisible:1,Equipment:[{id:137,Count:1}],DropChances:[1.0f]}

I Also changed it a little, give him these pieces of equipment:

Equipment:[{id:minecraft:stone_axe},{id:minecraft:leather_boots},{id:minecraft:leather_leggings},{id:minecraft:chainmail_chestplate},{id:minecraft:dropper}]

Now he looks pretty funny🙂

Benjamin Aaron Cole

(Unassigned)

Unconfirmed

Minecraft 1.7.2

Retrieved