I'm learning to mod. I discovered something cool while attempting to make Bedrockium armor a thing (infinite durability, diamond protection, large slowdown, increased fall damage if I can get that working...). The second parameter when creating an ArmorMaterial, which
the tutorial I'm following claims is durability, is (at the very least) also something that influences damage taken. Setting it to a negative value will actually
increase the damage taken, which I think is pretty cool. What's more is that this fact is not immediately visible to the player; you can set the armor to have what
looks like diamond level protection on the armor bar while simultaneously setting this "durability" value to be negative.
*rubs hand evilly*
Aside from the obvious trolling applications, this could be cool for a sort of "scout" armor that increases damage taken but also increases, say, speed, or berserker armor with a similar effect only with strength.
Actually, I still need help on that Bedrockium Armor infinite durability. If someone could help me with that in a PM or something, it'd be great.
EDIT: I now have diamond level protection working, but not infinite durability. It's set at several millions of durability points, but that lack of
true infinite durability bugs me conceptually.