minecolonies icon indicating copy to clipboard operation
minecolonies copied to clipboard

Fix armor level checking

Open Thodor12 opened this issue 1 year ago • 0 comments

Changes proposed in this pull request:

  • When checking for armor level, the entire armor set + toughness is taken into consideration as opposed to only the armor level of the chestplate.
  • Fixed the MinecoloniesArmorMaterial to updated ArmorMaterials Mojang implementation, so that armor values are applied in the correct order to each armor type.
  • Updated plate armor:
    • Durability raised from 20 to 37
    • Armor levels updated from 4,9,7,4 to 3,8,6,3 (helmet, chestplate, leggings, boots)
    • Toughness reduced from 2 to 0
    • Enchantment level raised from 6 to 9
  • Updated pirates armors:
    • Pirate armor 1 is now identical to iron with durability of diamond
    • Pirate armor 2 is now identical to diamond with durability of iron
  • Fixed other armors in the mod to use the new armor material constructor (santa hat and build goggles)

[X] Yes I tested this before submitting it. [ ] I also did a multiplayer test.

Review please

Thodor12 avatar Feb 17 '24 21:02 Thodor12