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.
介绍
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.



paper/: Paper plugin with GUI + command workflow.fabric/: Fabric server mod with command workflow + loot runtime injection.common/: sharedTargetType,TargetKey, search helpers.
Supported Targets
Structure Loot TableMob DropsVillager TradesEnchant TableTrial Vaults
Feature Parity Matrix
| 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 |
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.
常见问题
Loot Injector 支持哪些 Minecraft 版本?
Loot Injector 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Bukkit / Fabric / Folia / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。
Loot Injector 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / Folia / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
cev-api 的其他作品
查看全部 →
NiceWurst
NiceWurst is a non-cheating, utility-focused version of Wurst 7 CevAPI for Minecraft 1.21.11 & 26.3. It keeps the customization and utility tools of Wurst, removes all cheating behavior then adds all the new features of the CevAPI fork.
AntiFlight
Flight-only anti-cheat for Paper and Fabric servers. Stops fly hacks and elytra exploits without flagging vanilla movement, with optional Hunger Mode penalties.
SeedMapper-CevAPI
A fork of the in-game Minecraft Fabric mod that allows you to do various things with the world seed. Modified by CevAPI to have extra features.
VoxelMap x SeedMapper (VoxelMapper)
VoxelMap x SeedMapper is a heavily modified fork of VoxelMap that integrates SeedMapper directly into the client and extends VoxelMap with advanced chunk overlays, data sharing, and world-map tooling.
评论
登录后评论和评分