How to replace any loot Tables from any Mod with Berezka API
Berezka API – Loot Table Replacement
Complete loot table replacement without modifying original data packs
🎯 Description
This mod allows you to replace any loot tables from Minecraft or other mods without modifying their original data packs or resources.
⚡ Requirements
Berezka API version 1.1.3 Beta 4 or later.
⚙️ Setup
- Download and install Berezka API
- Open the configuration file at:
config/Berezka API.toml - Enable the following option:
UseFolderPluginSystem = true
📁 Replacement Structure
✅ Standard Case
If the mod's loot tables are located in any of the standard paths:
data/modid/loot_tables/
data/modid/loot_tables/modid/
Create a replacement file in your .minecraft folder:
📋 Example
Original table location:
data/examplemod/loot_tables/chests/abandoned_mineshaft.json
Replacement file:
.minecraft/berezka_plugins/examplemod/abandoned_mineshaft.json
❗ Non-standard Paths
If loot tables are stored in custom paths, you need to register them in the configuration:
- Open
Berezka API.toml - Find the
FolderPluginSystemListentry - Add a new entry in this format:
modid:path/:loot_table_name.json
Where:
modid= mod IDpath/= subpath afterloot_tables/loot_table_name.json= loot table file name
Then create the replacement file here:
📋 Non-standard Path Example
Original table location:
data/custommod/loot_tables/custom/structures/castle.json
Add to configuration:
FolderPluginSystemList = [
"custommod:custom/structures/:castle.json"
]
Create replacement file:
.minecraft/berezka_plugins/custommod/castle.json
💡 Tips
• Always verify the correct mod ID
• Ensure JSON files have correct syntax
• Restart the game or use /reload after changes
• Enable logging in Berezka API settings for debugging
Comments
Post a Comment