[CIT] CustomItemTextures
MCPatcher's CIT capabilities are now available without OptiFine! This is a stable and reliable version based on the CITResewn project.
The main CIT module provides an API for creating new texture types and conditions, while the CIT: Defaults module uses this API to implement standard types and conditions that are natively supported by the CIT format.
Documentation
Detailed documentation on using CIT Resewn is available on the website https://citresewn.shcm.io
For Developers
CIT is distributed for development through Modrinth's Maven repository under the identifier cit.
Defaults can be added separately through the same Maven under the identifier cit-resewn-defaults.
Gradle example:
// Add Modrinth's Maven repository:
repositories {
...
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
...
// Add the base CIT API to the project
modCompileOnly "maven.modrinth:cit:1.0.0+1.20.4"
// Add Defaults to the project
modCompileOnly "maven.modrinth:cit-resewn-defaults:1.1.3+1.20"
}
API usage documentation will be available soon on the documentation website.
For examples of using the CIT API, you can look at how it's implemented in the Defaults module.
Contributing
Bug fixes and implementation of new features are always welcome and usually accepted after verifying their correctness and alignment with the mod's concept.
Translations are not critically important, but if you create a PR with them, there's no reason for rejection.
The documentation website also has open source code, PRs can be created in the docs branch.
Note
This is a temporary version based on CITResewn. The project will be archived after the original mod is updated.