
CIT Resewn
Re-implements MCPatcher's CIT (custom item textures from optifine resource packs)
About this Mod

Huh? What does it do?
MCPatcher had a feature called Custom Item Textures(or CIT for short) which was later adopted by Optifine.
Custom Item Textures allowed resourcepacks to replace the appearance of items when they met certain conditions.
CIT Resewn does exactly that but as a standalone Fabric mod which does not require MCPatcher nor Optifine!
On top of that, CIT Resewn aims to build upon the concept of CITs by expanding the available types and conditions.
How is it different than MCPatcher/Optifine's CIT?
CIT Resewn is intended to be fully backwards compatible with the old Optifine/MCPatcher packs. Though there are some key differences.
First, the numeric id system was removed since the Flattening. Packs utilizing the so called "magic numbers" instead of the new text ids will not work.
Second, Optifine and old minecraft versions have a bug which allows resourcepacks to put files in malformatted(or "broken") paths.
These are paths that contain "Non (lower cased) a-z, 0-9, dots, underscores and dashes" characters within either the file name or its parent directories. In the case that you must use such a broken pack, there is a compromise set up which is still highly experimental and not recommended. You can go to CIT Resewn's settings and allow broken paths. (I'm serious, this is not recommended at all)
Lastly, to ensure compatibility with foreign packs, CITs will be loaded from .properties files under:assets/minecraft/citresewn/citassets/minecraft/optifine/citassets/minecraft/mcpatcher/cit
Does CIT Resewn support Optifine/Sodium?
While CIT Resewn is designed to work without any performance mod needed, I will try my best to ensure it is compatible with Sodium.
With all that said, there will not be support for Optifine at all.
There were also discussions around Sodium alternatives such as Canvas.
My official statement on compatibility with these mods is "if it works it works" unless I say otherwise.
What about Forge?
Forge is being kinda doodoo recently and Fabric's Mixins is what allows the mod to inject cits into vanilla so smoothly.
Do not ask for a forge port or I'll break your elbows.
1.16/other versions?
See Issues#120
If a version says it's for 1.x, it means it is aimed to work on all of 1.x's minor versions but specifically recommended for its listed minor version.
Well not anymore! Thanks a lot mojank ._.
Available Versions
How to Install CIT Resewn on Your Client
Install the Mod Loader Locally
Install fabric for your local Minecraft version.
Download the Matching File
Choose the CIT Resewn file for fabric and Minecraft 1.21.1.
Install Mod
Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.21, 1.20.4 (+13 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Does CIT Resewn need to be installed on the Minecraft server?
No. Modrinth marks CIT Resewn as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.
Which version and loader does CIT Resewn require?
Use a file for fabric and your exact Minecraft version. Supported versions include 1.21.1, 1.21, 1.20.4. Files for different loaders are not interchangeable.
CIT Resewn is not working – what should I check?
First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.
Similar Mods
Minecraft Server for Your Group
CIT Resewn stays on your client. Host a compatible world for your group.

