English
English
Appearance
English
English
Appearance
In MT Inventory Weight, you can customize the weights of specific items beyond the default settings. This guide explains how to set custom item weights and manage your configurations.
Custom item weights allow you to define specific weights for individual items, overriding default values or adding new weights for items not covered by defaults. This feature is useful for tailoring the inventory weight system to better fit your gameplay or modpack requirements.
Custom item weights are stored in a JSON configuration file. The default path for this file is:
config/inventoryweight/inventory_weights_items.json
Here’s how you can configure custom item weights:
Locate the Configuration File
If the file doesn’t already exist, the mod will create it with default values when it first runs. You can manually create or edit this file to add custom weights.
Editing the JSON File
Open the inventory_weights_items.json
file and define your custom weights in JSON format. For example:
{
"minecraft:diamond_sword": 100.0,
"minecraft:gold_ingot": 50.0
}
"item"
: The full item ID (e.g., minecraft:diamond_sword)."weight"
: The custom weight you want to assign.After editing the file, save your changes. The mod will automatically load the new weights when the world or server is restarted.
For more information on how item weights are categorized and managed, refer to the Inventory Weights Items guide.