-
Notifications
You must be signed in to change notification settings - Fork 54
Recipe Category Properties
Emily Rose Ploszaj edited this page Jan 15, 2023
·
2 revisions
EMI recipe categories are the tabs at the top of the recipe screen. They are used for organizing recipes, and some of their attributes can be modified using resource packs. Any json file in assets/emi/category/properties/
will be parsed as a category properties file. These are a collection of recipe key IDs to object values. The object can have the following values in the table below.
Key | Value |
---|---|
order |
An integer used to sort the category when looking up recipes. Default is 0 . |
sort |
How to sort the recipes in the category. One of none , input_then_output , output_then_input . |
icon , simplified_icon
|
An object with either stack specifying a stack to render as or texture pointing to a texture resource location. |
Here's an example that adjusts the crafting category to be sorted after most every category, not to sort its recipes at all, to use a stone item model as its category icon, and the square texture of dirt for its simplified icon in the recipe tree.
{
"minecraft:crafting": {
"order": 200,
"sort": "none",
"icon": {
"stack": "item:minecraft:stone"
},
"simplified_icon": {
"texture": "minecraft:textures/block/dirt.png"
}
}
}