How to replace any loot Tables from any Mod with Berezka API

Berezka API – Loot Table Replacement
📦

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

  1. Download and install Berezka API
  2. Open the configuration file at:
    config/Berezka API.toml
  3. 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/chests/
data/modid/loot_tables/
data/modid/loot_tables/modid/

Create a replacement file in your .minecraft folder:

📁 .minecraft/
└── berezka_plugins/
    └── modid/
        └── loot_table_name.json

📋 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:

  1. Open Berezka API.toml
  2. Find the FolderPluginSystemList entry
  3. Add a new entry in this format:
    modid:path/:loot_table_name.json

Where:

  • modid = mod ID
  • path/ = subpath after loot_tables/
  • loot_table_name.json = loot table file name

Then create the replacement file here:

📁 .minecraft/
└── berezka_plugins/
    └── modid/
        └── loot_table_name.json

📋 Non-standard Path Example

Original table location:
data/custommod/loot_tables/custom/structures/castle.json

Add to configuration:

# In FolderPluginSystemList section
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