COWMODSКаталог модов

Loot Injector

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.

Автор: cev-api2,2 тыс.12обновлён 17 авг. 2026 г.
СнаряжениеМеханики игрыМобы

Описание

LootInjector

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.

1 3 4

  • paper/: Paper plugin with GUI + command workflow.
  • fabric/: Fabric server mod with command workflow + loot runtime injection.
  • common/: shared TargetType, TargetKey, search helpers.

Supported Targets

  • Structure Loot Table
  • Mob Drops
  • Villager Trades
  • Enchant Table
  • Trial Vaults

Feature Parity Matrix

FeaturePaperFabric
Runtime injection: loot tables / structures / mobsYesYes
GUI editorYesNo
Namespace source browserYesNo
Structure base loot discovery (vanilla + datapacks)YesNo GUI base view
Mob source browser and mob editorYesNo GUI
Villager trade GUI/editorYesNo GUI
Enchant table GUI/editorYesNo GUI
Command editing (add, addhand, block, blockhand, clear, search)YesYes
Type-aware searching (structure/loot_table/mob/villager/enchant_table)YesYes

Command Reference

Base command: /lootinjector

Shared (Paper + Fabric)

  • /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>

Paper-only

  • /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>

Paper

GUI

  • Main Sources page:
    • Vanilla/datapack structure namespaces
    • Villagers
    • Enchant Table
    • Mob Drops
  • Mob Drops has namespace drilldown, then per-mob editor.
  • Mob icons use vanilla spawn eggs where available, else spawner fallback.
  • Editors support:
    • Viewing base entries
    • Add custom rules (drag/drop + add button)
    • Block/unblock entries
    • Chance edits
    • Paging + clear rules

Fabric

Runtime

  • Injects configured rules during loot-drop modification.
  • Applies to:
    • Direct loot table targets
    • Structure aliases inferred from chest loot tables
    • Mob targets inferred from entities/* loot tables

Permissions

Paper uses lootinjector.admin for command access.

License

GPLv3. See LICENSE.

Последние версии

Все версии →
release

Loot Injector 0.0.3

0.0.3
17 авг. 2026 г.284Minecraft: 26.2fabric
Скачать
Что нового
- Added Minecraft 26.2 datapack structure discovery. - Improved structure-to-loot-table matching for nested datapack paths. - Prevented block, entity, item, and gameplay loot tables from appearing as structures. - Added All/Configured filtering for enchanting-table entries. - Improved matching for customized enchanted books. - Improved discovery of custom datapack mob loot tables. - Improved detection of custom datapack item components and loot-table references. - Verified Paper and Fabric compilation against the 26.2 mappings.
release

Loot Injector 0.0.3

0.0.3
17 авг. 2026 г.297Minecraft: 26.2paper
Скачать
Что нового
- Added Minecraft 26.2 datapack structure discovery. - Improved structure-to-loot-table matching for nested datapack paths. - Prevented block, entity, item, and gameplay loot tables from appearing as structures. - Added All/Configured filtering for enchanting-table entries. - Improved matching for customized enchanted books. - Improved discovery of custom datapack mob loot tables. - Improved detection of custom datapack item components and loot-table references. - Verified Paper and Fabric compilation against the 26.2 mappings.
release

Loot Injector v0.0.2

0.0.2
29 мар. 2026 г.800Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
Better Structure Handling
release

Loot Injector v0.0.2

0.0.2
29 мар. 2026 г.707Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, folia, paper, purpur, spigot
Скачать
Что нового
Better Structure Handling
release

Loot Injector v0.0.1

0.0.1
28 мар. 2026 г.52Minecraft: 1.21.11fabric
Скачать
Что нового
Initial Release
release

Loot Injector v0.0.1

0.0.1
28 мар. 2026 г.56Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper
Скачать
Что нового
Initial Release