Wiki 9Minecraft TooMuchLoot Mod Wiki
TooMuchLoot Mod Wiki › Configuration

TooMuchLoot Mod — Configuration

Commands

TooMuchLoot provides a single base command with sub-commands to help manage and debug loot tables in real-time.

Command Description
/tml dump Exports all currently registered loot tables and their contents into a text file named TooMuchLoot-Dump.txt in the game's root directory. This is vital for seeing the exact internal names of items and categories.
/tml reload Reloads all JSON configuration files from the config/TooMuchLoot folder and applies the changes immediately to the current world.

Configuration

The mod is configured through JSON files located in config/TooMuchLoot/. You can create multiple files (e.g., vanilla_tweaks.json, mod_additions.json) to keep your changes organized.

JSON Structure

Each JSON file should contain an array of objects. Each object represents a single modification rule.

Action Types

  • add: Adds a new item entry to the specified category.
  • remove: Removes all instances of a specific item from the specified category.
  • replace: Clears the entire category and replaces it with the items defined in the JSON.

Example Configuration

[
 {
 "action": "remove",
 "category": "DUNGEON_CHEST",
 "item": "minecraft:saddle"
 },
 {
 "action": "add",
 "category": "VILLAGE_BLACKSMITH",
 "item": "minecraft:diamond",
 "weight": 10,
 "min": 1,
 "max": 3
 }
]

Parameter Definitions

Parameter Type Description
action String The type of modification (add, remove, replace).
category String The internal name of the loot table (e.g., PYRAMID_DESERT_CHEST).
item String The registry name of the item (e.g., minecraft:iron_ingot).
metadata Integer (Optional) The metadata/damage value of the item. Defaults to 0.
weight Integer The rarity of the item. Higher numbers mean more frequent spawns.
min Integer The minimum stack size when the item spawns.
max Integer The maximum stack size when the item spawns.