ModsFinder

CIT for NBT

by sabrepotato

CIT for NBT lets resource packs assign custom textures to items based on their NBT data, as an alternative to Optifine's CIT feature on Forge 1.12.2.

ForgeClient-side onlyGNU Lesser General Public License v3.0 or laterOpen source1.12.2

What it does

Custom item textures are selected from properties files placed in the resources folder. A conditional texture applies to an item only when its .properties file exists, and the NBT conditions in that file decide whether the texture is shown. Each NBT condition checks a tag path and returns true or false, for example a value matched against a numeric range such as 1-5, 9 or 17.

The mod adds Optifine's CIT feature as a standalone option for Forge 1.12.2, so it does not require Optifine. It reads files only from the .minecraft/resources folder and treats the resources folder as the assets folder. Paths such as assets/textures are placed in resources/textures instead. Relative paths behave as they do in Optifine, and a conditional texture needs its item to match the same namespace.

Items that follow Optifine's folder organization need an additional suffix, and free-floating .properties files also need one tied to their role. Animations use separate item.anim.properties files alongside the item.cit.properties files. Apart from one exception, the file format is stable. Because the mod follows the folder style used by other resource-based item mods, it can coexist with them.

Key features

  1. NBT conditions

    Texture choice depends on NBT tags, with each condition evaluating to true or false.

  2. Optifine-style paths

    Relative paths and the folder layout follow Optifine's conventions for custom item textures.

  3. Animated textures

    Item textures can be animated through a separate animation properties file.

  4. Standalone operation

    The CIT feature runs without Optifine installed, reading files from the resources folder.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.12.20.3.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does CIT for NBT need Optifine?

No. It adds Optifine's CIT feature as a standalone mod for Forge 1.12.2, so Optifine is not required.

Where do the CIT files go?

The mod reads files only from the .minecraft/resources folder. Paths written as assets/textures go into resources/textures instead.

Does CIT for NBT have to be installed on the server?

No. It is client-side only, so only the client needs it.

In the catalog

CIT for NBT is one of 12,078 Decoration mods on ModsFinder, and one of 6,149 Decoration mods for Forge. 2,920 mods support Minecraft 1.12.2.

More from sabrepotato

All projects

Similar mods

What the author says

A mod that adds Optifine's CIT feature as a standalone feature for 1.12.2. This mod currently only looks in the.minecraft/resources folder for your files. It treats this resource folder as the "assets" folder. In other words, a path assets/ /textures would be placed in resources/ /textures instead. This allows compat…
sabrepotato, on the Modrinth page

Official listing

Owner
sabrepotato
Published
2025-07-02
Updated on Modrinth
2025-11-16
Facts verified
2026-10-15

Tags