Loot Table Modifier

Loot Table Modifier

Allows datapacks 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.

293 478 downloads
33 followers

Loot Table Modifier

Chat with me on Discord Available on Modrinth Check out the Repository
Requires MonkeyLib538
Read the Documentation

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.

List of projects utilizing Loot Table Modifier:

  • Withered Bone Meal
  • Ultimate Mob Farms
  • I don't know of any more yet ๐Ÿ˜… Please do hit me up on discord, make an issue/pr on the repository or something if you wanna add your project here :D

Mod, Modpack or Datapack developers

Follow the documentation available here.

This mod is of course allowed to be used in Modrinth modpacks.

Launches per hour for past 30 days Render of graph showing launches per hour of loot table modifier over the past 30 days

No gallery available for this project.