Loot Table Modifier

A Minecraft mod for Fabric and NeoForge that allows datapack and mods to modify loot tables instead of replacing them. Loot modification is applied at data loading, so there's no performance impact during gameplay.

275,21k

Loot Table Modifier

Loot Table Modifier

Why?

Vanilla datapacks can only replace existing loot tables, which is not good for being compatible with other datapacks that also try to replace the same table. This mod fixes that by implementing a system of *loot modifiers*, which do just that, modify loot (tables)!

Unlike some other mods (*ahem* KubeJS) which work by running code at runtime to intercept and change drops, Loot Table Modifier modifies the loot tables as they're loaded from datapacks. This means that the mod will only hurt performance during data loading, but has no performance impact during gameplay!¹

###### ¹ Except when you make zombies drop a bajillion stacks of diamonds or something crazy like that, but that's really not the mod's fault 😅

Usage

Players

This mod does *nothing* when installed on its own. There needs to be some sort of datapack present that uses loot modifiers. If you are using some mod or datapack which depends on Loot Table Modifier, just download the latest version for the Minecraft version you use from the versions page and add it to your mods folder.

Mod, Modpack or Datapack developers

Follow the documentation available here.

This mod is allowed to be used in Modrinth modpacks. I'm not sure if I can legally prevent redistribution when using the MIT license, but redistribution is not allowed.

###### This mod collects anonymous usage statistics, read more about what's collected here. No personally identifiable data is stored. Telemetry can be disabled by modifying the config at `config/monkeylib538/telemetry.json` or by running the `/monkeylib538 telemetry set isEnabled false` command.

ADS