Skip to content

Client Trim Material

ThePotatoArchivist edited this page Jul 18, 2026 · 6 revisions

To allow tool trims to show custom trim materials, create a client trim material at assets/<namespace>/tooltrims/trim_material/<path>.json. The namespace and path should match the id of the trim material.

For example, Bob's Mod adds a new trim material bobsmod:aluminium.

assets/bobsmod/tooltrims/trim_material/aluminium.json

{
    // Texture id of the material's color palette.
    "asset_name": "bobsmod:trims/color_palettes/aluminium",

    // A suffix used to generate assets. Should be a valid identifier path and be unique to your material.
    "suffix": "bobsmod_aluminium"
}

Mods/datapacks/resourcepacks separately adding client trim materials and client trim overlays will automatically be compatible with each other and display correctly.

See the source code for more examples.

Clone this wiki locally