Skip to content

Client Trim Pattern

ThePotatoArchivist edited this page Jul 18, 2026 · 3 revisions

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

For example, Bob's Mod adds a new trim pattern bobsmod:chain.

assets/bobsmod/tooltrims/trim_pattern/chain.json

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

Creating a new trim pattern will require providing assets for each tool type, as described in Client Trim Overlay, as well as creating the normal data entries and recipes.

See the source code for more examples.

Clone this wiki locally