Configs
Structure
The configs are stored in a JSON file under configs/nemos-inventory-sorting
.
There, you'll find a list of configs structured as follows:
json
[
{
"componentName": "sort_storage_container",
"isEnabled": true,
"xOffset": 100,
"yOffset": 5,
"width": 11,
"height": 11
},
...
]
Config Fields
- componentName
- Specifies which component should be configured.
- If the name doesn't match any pre-configured name, the config will be ignored.
- isEnabled
- Determines whether the component is enabled (visible) or not.
- xOffset
- Sets the X offset, starting from the left side.
- yOffset
- Sets the Y offset, starting from the top.
- width
- Defines the component's width.
- height
- Defines the component's height.
- Defines the component's height.
Default Configs
Standard Containers
json
[
{
"componentName": "sort_storage_container",
"isEnabled": true,
"xOffset": 100,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "move_same_storage_container",
"isEnabled": true,
"xOffset": 118,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "move_all_storage_container",
"isEnabled": true,
"xOffset": 136,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_storage_container",
"isEnabled": true,
"xOffset": 154,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "sort_storage_container_inventory",
"isEnabled": true,
"xOffset": 100,
"width": 11,
"height": 11
},
{
"componentName": "move_same_storage_container_inventory",
"isEnabled": true,
"xOffset": 118,
"width": 11,
"height": 11
},
{
"componentName": "move_all_storage_container_inventory",
"isEnabled": true,
"xOffset": 136,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_storage_container_inventory",
"isEnabled": true,
"xOffset": 154,
"width": 11,
"height": 11
},
{
"componentName": "sort_inventory",
"isEnabled": true,
"xOffset": 136,
"yOffset": 71,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_inventory",
"isEnabled": true,
"xOffset": 154,
"yOffset": 71,
"width": 11,
"height": 11
},
{
"componentName": "sort_container_inventory",
"isEnabled": true,
"xOffset": 136,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_container_inventory",
"isEnabled": true,
"xOffset": 154,
"width": 11,
"height": 11
},
{
"componentName": "item_filter",
"isEnabled": true,
"yOffset": -16,
"width": 77,
"height": 15
},
{
"componentName": "filter_persistence_toggle",
"isEnabled": true,
"yOffset": -15,
"width": 13,
"height": 13
}
]
Iron Chest (NeoForge)
json
[
{
"componentName": "sort_storage_container",
"isEnabled": true,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "move_same_storage_container",
"isEnabled": true,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "move_all_storage_container",
"isEnabled": true,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_storage_container",
"isEnabled": true,
"yOffset": 5,
"width": 11,
"height": 11
},
{
"componentName": "sort_storage_container_inventory",
"isEnabled": true,
"width": 11,
"height": 11
},
{
"componentName": "move_same_storage_container_inventory",
"isEnabled": true,
"width": 11,
"height": 11
},
{
"componentName": "move_all_storage_container_inventory",
"isEnabled": true,
"width": 11,
"height": 11
},
{
"componentName": "drop_all_storage_container_inventory",
"isEnabled": true,
"width": 11,
"height": 11
}
]
Reset Config
Partial Reset
To partially reset the config, manually update the values using the default config (see above).
Complete Reset
To completely reset the config, either update the values using the default config or simply delete the config.json
file located in configs/nemos-inventory-sorting
.
If there is no config file, the default values will be taken. After restarting Minecraft, the config file will be generated again.