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.
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
NBT conditions
Texture choice depends on NBT tags, with each condition evaluating to true or false.
Optifine-style paths
Relative paths and the folder layout follow Optifine's conventions for custom item textures.
Animated textures
Item textures can be animated through a separate animation properties file.
Standalone operation
The CIT feature runs without Optifine installed, reading files from the resources folder.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does CIT for NBT need Optifine?
Where do the CIT files go?
Does CIT for NBT have to be installed on the server?
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
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…
Official listing
- Modrinth page
- modrinth.com/mod/cit-for-nbt
- Owner
- sabrepotato
- Published
- 2025-07-02
- Updated on Modrinth
- 2025-11-16
- Facts verified
- 2026-10-15
