CIT Resewn
CIT Resewn is a standalone Fabric mod that completely recreates the Custom Item Textures (CIT) functionality previously available in MCPatcher and later implemented in Optifine. This technology allows changing the appearance of in-game items when certain conditions are met directly through resource packs.
Core Concept
The CIT system provides resource pack developers with the ability to create texture variations for different item states. Thanks to this, you can get completely new visual effects for objects depending on their characteristics or usage context. At the same time, CIT Resewn works as a separate solution and doesn't require installation of any additional modifiers like MCPatcher or Optifine, making it a more convenient and stable option.
Compatibility Features
Although the mod is designed for full backward compatibility with existing CIT packs from Optifine and MCPatcher, there are several important differences. First, the numeric ID system was completely removed after The Flattening update - packs using old "magic numbers" instead of modern text IDs will no longer work correctly.
Second, some technical shortcomings of previous versions related to processing incorrect file paths have been fixed. In special situations, if a resource pack contains files with improperly formatted names or folder structure, you can activate an experimental option in the mod's settings that allows loading such "broken" paths, however this function is considered unstable and its use is not recommended.
Support for Other Modifications
Maximum compatibility with performance mods is planned, particularly with Sodium, which I intend to check and refine as needed. At the same time, support for Optifine is completely excluded - the more problematic mod simply won't integrate with this project.
Additionally, there is regular interaction with the community regarding compatibility with alternatives like Canvas - we'll consider final support based on mutual technical verification; if the system can work, it continues to be supported.
Technical Implementation
For proper operation, CIT files must be placed in the following resource pack folders:
assets/minecraft/citresewn/cit
assets/minecraft/optifine/cit
assets/minecraft/mcpatcher/cit
This universality ensures backward compatibility with the widest range of existing resource packs and creates conditions for further improvement of the technology.