Resource Pack Authors

CITs are most commonly added to the game via resource packs, here's how you do that.

// This guide will assume you have a basic understanding of creating resource packs.

Format

CITs are stored in .properties files. Poperties are a common file format where each line stores a single property containing a key and a value that are separated by an equals sign.
Lines starting with # will be considered comments and ignored.

Example:

# example_stick.properties

# This is an example of a properties file for a cit
type=item
items=stick
nbt.display.Name=Example Stick
texture=example_stick.png

You can read more about the .properties format here.

Structure

CIT Resewn will look for cits in the game's assets. For resource packs it will look in either:

assets/minecraft/citresewn/cit/..
assets/minecraft/optifine/cit/..
assets/minecraft/mcpatcher/cit/..

Files and directories within the cit roots must follow standard resource pack formatting rules such as snake_case names and no special characters.
The name cit.properties is reserved for Global Properties.

Examples:

My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/example_stick.properties
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/example_stick.png
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/emerald/sword/emerald_sword.properties
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/emerald/sword/emerald_sword.json
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/emerald/sword/emerald_sword.png
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/obsidian_dust/obsidian_dust.properties
My Cool Resourcepack.zip/assets/minecraft/citresewn/cit/obsidian_dust/obsidian_dust.png

Tips

CIT Resewn provides a lot of information in the logs, it is recommended that you have them open while working on a pack.