

Additional Loot Tables
This straightforward mod loads loot tables from the config/additional-loot-tables directory. Loot definitions must be stored in the format config/additional-loot-tables/MODID/XXX/YYY.json, where MODID is the mod's identifier or name, XXX is the type of loot (either chests for containers or entities for creatures), and YYY is the loot category (e.g., simple_dungeon.json). You can also add custom loot tables by using any folder name in place of MODID.
How It Works
When this mod is installed, it creates a directory called additional-loot-tables within the config folder. You (or other mods) can place folders inside additional-loot-tables that contain loot table definitions.
For example, if ModX wants dungeon chests to contain a jetpack as treasure, ModX creates the file config/additional-loot-tables/modx/chests/simple_dungeon.json. This file includes the loot table definition for spawning a jetpack. When a player with both ModX and AdditionalLootTables installed creates or loads a world, AdditionalLootTables automatically detects the files in config/additional-loot-tables and merges them with Minecraft's default (or manually added) loot tables.