Loot Injector allows you to control loot across your server. You can edit both Vanilla and Datapack structure chests, loot tables, mob drops, villager trades and enchanting outcomes. The Paper plugin it supports a GUI.
LootInjector is a Paper plugin + Fabric mod that gives you one place to control loot across your server. You can edit structure chests, direct loot tables, mob drops, villager trades, and enchanting outcomes, including datapack content. On Paper, it also has an in-game GUI so you can browse sources and tweak chances, add items, or block entries without digging through JSON by hand.



paper/: Paper plugin with GUI + command workflow.fabric/: Fabric server mod with command workflow + loot runtime injection.common/: shared TargetType, TargetKey, search helpers.Structure Loot TableMob DropsVillager TradesEnchant TableTrial Vaults| Feature | Paper | Fabric |
|---|---|---|
| Runtime injection: loot tables / structures / mobs | Yes | Yes |
| GUI editor | Yes | No |
| Namespace source browser | Yes | No |
| Structure base loot discovery (vanilla + datapacks) | Yes | No GUI base view |
| Mob source browser and mob editor | Yes | No GUI |
| Villager trade GUI/editor | Yes | No GUI |
| Enchant table GUI/editor | Yes | No GUI |
Command editing (add, addhand, block, blockhand, clear, search) |
Yes | Yes |
| Type-aware searching (structure/loot_table/mob/villager/enchant_table) | Yes | Yes |
Base command: /lootinjector
/lootinjector reload/lootinjector search <structure|loot_table|mob|villager|enchant_table> <query>/lootinjector add <structure|loot_table|mob|villager|enchant_table> <id> <chance> <item_id>/lootinjector addhand <structure|loot_table|mob|villager|enchant_table> <id> <chance>/lootinjector block <structure|loot_table|mob|villager|enchant_table> <id> <item_id>/lootinjector blockhand <structure|loot_table|mob|villager|enchant_table> <id>/lootinjector clear <structure|loot_table|mob|villager|enchant_table> <id>/lootinjector gui/lootinjector add <...> [nbt] (NBT argument supported)/lootinjector block <...> [nbt] (NBT argument supported)/lootinjector open <structure|loot_table|mob|villager|enchant_table> <id>/lootinjector debugbase <structure_id>entities/* loot tablesPaper uses lootinjector.admin for command access.
GPLv3. See LICENSE.