Armor Values are bugged

Not applicable
Issue description

Armor values are a bit messy:

A default mcreator armor has got these numbers in the editor (helmet, body, leggings, boots) :

2, 7, 5, 3

I know that because of harvest tiers and minecraft formulas these numbers aren't the same in-game, but the bug is that... I don't know how to explain, but here are the actual in-game armor values of that 2,7,5,3 armor:

3, 5, 7, 2

While a vanilla iron armor is:


I am not saying that the default numbers in the editor should look like iron armor armor values, I am saying that what you set in the mod element editor is totally different to the actual in-game armor.

I don't know if this is a bug or if this was supposed to happen.

sorry for bad English

Issue comments

Thank you for this bug report. We will check whether the values are swapped and fix this in such case.

In minecraft code, chestplates and leggings are the other way round for some reason. For example, in the code that defines the armour values, if I put 3,5,7,2, then leggings are 5 and chestplate is 7, likewise if I put 3,7,5,2 then leggings are 7 and chestplate is 5. Hopefully this helps!

FlashFyre is correct, we will improve the defaults to imitate iron armor and add the proper order of values in 1.7.9.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.