Class TrimmedArmorModel

java.lang.Object
net.neoforged.neoforge.client.model.item.TrimmedArmorModel
All Implemented Interfaces:
ItemModel

public class TrimmedArmorModel extends Object implements ItemModel

A dynamic model that applies an armor trim texture on top of an existing model when the trim component exists.

NOTE: If multiple mods add a trim material with the same path, only the one that gets loaded last will have its proper colors.

Example: if mod A and mod B register a "tin" trim material, and mod B loads after A, mod B's material will be the one used.

Mod A's ingot will still work just fine as a trim material, it will just look like whatever mod B defined for theirs!

All this means is that if another mod is registering the same material(s) as you and uses this system, your trim colors may not look exactly how you want them to.

This issue can be avoided by making your material path more unique. We would encourage you to prefix your material with your mod id or something along those lines.