Default mob armor

Upvotes: 7
Issue description

Some vanilla mobs (zombies, magma cubes, the wither, the Shulker when closed and the killer rabbit) have a default amount of armor points.

It would be cool to give custom mobs some armor points without actually giving them armor pieces.

Issue comments

Submitted by Klemen on Fri, 03/22/2019 - 16:38

Right now you can do this in the code by adding this in the mob entity constructor:

this.getEntityAttribute(SharedMonsterAttributes.ARMOR).setBaseValue(2.0D);

 

Submitted by Klemen on Sat, 06/22/2019 - 18:19

This feature will be added in MCreator 1.9.0.