// Optionally, you can also override #getArmorTexture here. This method returns a ResourceLocation
// that determines where the armor location is stored, in case you want to store it in a non-default location.
// See the default implementation in Tier for an example.
#getArmorTexture is not defined in both ArmorMaterial and Tier. Instead it's method from IItemExtension which is for 3d model. It's mentioned later in same section:
Besides the usual resources, armors also need a worn armor texture that will be rendered over the player model when the armor is equipped. This texture must be located at src/main/resources/assets/<mod_id>/textures/models/armor/<material>_layer_1.png for the helmet, chestplate and boots textures, and in the same directory at <material>_layer_2.png for the leggings.
In section about armor and
ArmorMaterial
:#getArmorTexture
is not defined in bothArmorMaterial
andTier
. Instead it's method fromIItemExtension
which is for 3d model. It's mentioned later in same section: