armourWeightDef (or Armour Weight Definition)'s are the core part of developing for this mod.
armourWeightDef
an armourWeightDef is used to quickly add a weight value to your modded armour.
an armourWeightDef takes in the following arguments
armourType (can be null), Weight (weight of armour) and ArmourItem (Item associated with the definition.)
armourType
Weight
ArmourItem
while you can refrence the values of a definiton, it's best practice to use the methods instead (something like getType() instead of .TYPE)
getType()
.TYPE
Definitions are registered via WeightUtil.addElement(your_item);.
WeightUtil.addElement(your_item);
There was an error while loading. Please reload this page.