Random Loot
以前所未有的方式引入掠夺机制!你是否曾觉得 Minecraft 缺乏足够的工具和武器来让你感到满意?是否对每件工具缺乏个性而感到不满?是否曾希望你的工具能随着使用而变得更强?是的?!那么这款模组正是为你准备的!
Random Loot 是从底层重写开发的,旨在创建一个更易维护的代码库,并具备可扩展的修饰符系统。

物品
本模组围绕“战利品箱”(Loot Case)构建,打开后会随机生成一把随机工具或一件随机护甲。在游戏中你永远不会看到它们被称为“随机工具”或“随机护甲”,因为每个物品都是随机生成的,并且拥有独特的名称。
战利品箱
你可以在任何结构生成的箱子中找到战利品箱(例如:地牢、矿洞、埋藏的宝藏)。默认情况下,结构箱子中有 25% 的概率包含一个战利品箱(可配置,请参阅 配置指南)。右键点击此战利品箱会生成一个新的工具或护甲部件,并从你的物品栏中移除该战利品箱。

随机工具
随机工具的外观类似于多种类型的工具,可以是:镐、铲、斧或剑。这些工具在生成时都会带有随机的特性(Traits)。每当你通过开启战利品箱生成一次工具,生成的工具将拥有更好的属性和更多的特性。


当鼠标悬停在工具上并按住 Shift 键时,你将获得关于工具及其当前特性状态的详细信息视图。

当鼠标悬停在工具上并按住 Control 键(Mac 上为 Command 键)时,你将获得当前应用于该工具的每个特性的描述。

随机护甲
战利品箱也可以包含随机护甲——头盔、胸甲、护腿和靴子。默认情况下,战利品箱有 15% 的概率包含一件护甲而不是工具(可配置)。护甲会生成其专属的特性池,并遵循与工具相同的进度、命名和提示词规则。
工具和护甲都可以附魔,并可以在铁砧中使用可配置的修复材料(默认:钻石)进行修复——详见 战利品与合成指南。
工具修饰符
完整的修饰符列表请查看 修饰符列表。
特性添加/删除模板
特性添加/删除模板是允许你从工具中添加或删除特性的物品。为此,请将添加模板或删除模板放入锻造台以添加或删除特性。然后放入你的工具以及 修饰符 列表中列出的相应物品。随后你可以预览这对你的工具产生的影响。
你可以在地牢宝箱中找到特性添加模板,这与战利品箱类似(默认概率为 15%)。要获得删除模板,请在手持添加模板的情况下右键点击。它们可以无限次地在两者之间切换,但一旦使用它们,它们就会消失。
在此示例中,我们使用添加模板向工具添加 Living 特性。

随机精华与拆解
不想要生成的工具或护甲部件?将其在熔炉中烧炼以拆解为随机精华(Random Essence)。在合成网格中将随机工具或随机护甲与随机精华组合在一起,会改变物品的纹理——每增加一份精华会使纹理循环变化一次,这样你就可以在不丢失任何特性、等级或属性的情况下重新定制你的装备外观。你还可以将 9 份随机精华合成为一个全新的战利品箱,因此即使是糟糕的掉落最终也会有回报。
自动化
你可以将战利品箱放置在发射器中以自动开启。发射器生成的装备属性相当于最高进度在线玩家的一小部分(默认为 75%,可通过 dispenserGoodness 配置),并且会像玩家在那里开启战利品箱一样记录发射器的真实生物群系和维度。使用发射器开启战利品箱不会推进任何人的进度,因此不能用于刷取更好的战利品。
命令
操作员(权限级别 2,与 /give 相同)拥有一个 /randomloot 命令树,用于直接生成和编辑装备:
| 命令 | 功能说明 |
|---|---|
/randomloot give <type> |
将指定类型(pickaxe、shovel、axe、sword、helmet、chestplate、leggings、boots)的全新且无附加特性的工具或护甲,以基础属性生成至你的物品栏中。 |
/randomloot trait add <trait> |
为主手装备添加一个特性;若该装备已具备此特性,则提升其等级。遵循与锻造相同的规则(部件类型、生物群系限制、特性兼容性),且自动补全仅显示当前手持物品实际可接受的特性。 |
/randomloot trait remove <trait> |
移除主手装备上的某个特性。自动补全会列出该物品当前具备的所有特性。 |
/randomloot xp <amount> |
为主手装备添加经验值,使其随之升级。 |
文档
- 修饰符列表 - 所有可用的修饰符与配方
- 生物群系专属特性 - 绑定至特定生物群系的特性
- 配置指南 - 服务器/整合包配置选项
- 工具进阶 - 等级、属性与进度提升
- 名称生成 - 工具名称的生成方式
- 战利品与合成 - 物品获取途径与合成指南
又一次重写?
从 1.12 到 1.16 的跳跃是 Forge 和 Minecraft 代码库中最大的变更之一,因此对模组进行完全重写是非常受欢迎的。然而,从 1.16 到 1.20 再次发生了巨大的变化,我对 1.16 版本的模组代码库以及随意的规划整体感到不满。因此,1.20 版本是对 Random Loot 的完全重写,旨在让模组感觉更加连贯且减少各种瑕疵(janky)。这次重写所形成的代码库延续至今,现在运行在 NeoForge 上以支持现代 Minecraft 版本。
更新日志
请查看 GitHub releases 以获取每个版本的更新日志。
致谢
感谢 Sprucefence、Xiruen、Victorium 和 Zorbyn 捐赠工具纹理。
Random Loot
Introducing Looting like you've never seen it before! Have you ever felt that Minecraft didn't have enough tools and weapons to make you happy? Are you dissatisfied with the low amount of character each tool has? Ever wanted your tools to get better as you use them? Yes?!? Well then this is the mod for you!
Random Loot was rewritten from the ground up with the goals of creating an easier to maintain code-base with an expandable modifier system.

Items
This mod is built around the Loot Case, which opens into a Random Tool or a piece of Random Armor. You'll never see them called that in game since every item is randomly generated and uniquely named.
Loot Case
You can find cases in any chest that generated in a structure of some kind (ex: dungeons, mineshafts, buried treasure). By default there is a 25% chance that a structure chest contains a case (configurable, see the Configuration Guide). Right-clicking with this case generates a new tool or armor piece and removes the case from your inventory.

Random Tool
Random Tools look like a variety of tool types and can be one of: pickaxes, shovels, axes, swords. These tools all generate with random traits. For every tool you generate by opening a case, the tool you generate will come with better stats and more traits.


Holding Shift while hovering over tools will give you an expanded view on details about the tool and current status of traits.

Holding Control (command on a mac) while hovering over tools will give you a description of every trait currently applied to the tool.

Random Armor
Loot Cases can also contain Random Armor — helmets, chestplates, leggings, and boots. By default a case has a 15% chance to hold an armor piece instead of a tool (configurable). Armor generates with its own pool of traits and follows the same progression, naming, and tooltip rules as tools.
Both tools and armor are enchantable and can be repaired in an anvil with a configurable repair material (default: diamond) — see the Loot & Crafting guide for details.
Tool Modifiers
For a complete list of modifiers check out the modifier list.
Trait Addition/Subtraction Template
Trait Addition/Subtraction Templates are items that allow you to add and remove traits from your tools. To do this, place either an addition template or subtraction template inside a Smithing Table, to add or remove a trait. Then place in your tool and the corresponding item listed in the Modifiers list. Then You can preview what will happen to your tool.
You can find Trait Addition Templates in dungeon chests similarly to loot cases (15% chance by default). To get Subtraction Templates, right click with an addition template in your hand. They can be swapped back and forth as many times as you'd like but once you use them they're gone.
In this example, we're adding Living to the tool using an addition template.

Random Essence & Salvaging
Don't want a tool or armor piece you generated? Smelt it in a furnace to salvage it into Random Essence. Combining a Random Tool or Random Armor with Random Essence in a crafting grid changes the item's texture — each additional Essence cycles one texture further, so you can re-style your gear without losing any traits, levels, or stats. You can also craft 9 Random Essence into a brand new Loot Case, so even bad rolls eventually pay off.
Automation
You can place cases in dispensers to be opened automatically. Dispensed gear rolls at a fraction of the goodness of the most progressed online player (75% by default, configurable via dispenserGoodness), and records the dispenser's real biome and dimension just like a player opening the case there. Opening cases with a dispenser does not advance anyone's progression, so it can't be used to farm better loot.
Commands
Operators (permission level 2, the same as /give) get a /randomloot command tree for spawning and editing gear directly:
| Command | What it does |
|---|---|
/randomloot give <type> |
Spawns a fresh, trait-less tool or armor piece of the given type (pickaxe, shovel, axe, sword, helmet, chestplate, leggings, boots) into your inventory at base stats. |
/randomloot trait add <trait> |
Adds a trait to the gear in your main hand, or levels it up if the gear already has it. The same rules as smithing apply (piece type, biome restrictions, trait compatibility), and tab-completion only offers traits your held item can actually take. |
/randomloot trait remove <trait> |
Removes a trait from the gear in your main hand. Tab-completion lists the traits currently on the item. |
/randomloot xp <amount> |
Adds XP to the gear in your main hand, leveling it up along the way. |
Documentation
- Modifier List - All available modifiers and recipes
- Biome-Specific Traits - Traits tied to specific biomes
- Configuration Guide - Server/modpack configuration options
- Tool Progression - Leveling, stats, and advancement
- Name Generation - How tool names are created
- Loot & Crafting - Where to find items and crafting guide
Another Rewrite?
The jump from 1.12 to 1.16 was one of the biggest changes to Forge & the Minecraft codebase making a complete rewrite of the mod very welcome. However, the 1.16 to 1.20 was again, a massive change and I was overall dissatisfied with the 1.16 version of the mods codebase and sloppy planning. As such, 1.20 was a complete rewrite of Random Loot to make the mod feel more cohesive and less janky. That rewrite is the codebase that lives on today, now running on NeoForge for modern Minecraft versions.
Changelog
Check the GitHub releases for the changelog of each version.
Credits
Thank you to Sprucefence, Xiruen, Victorium and Zorbyn for donating tool textures.
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Loot
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新日志
点击这里查看完整的更改列表。
更新日志
点击这里查看完整的更改列表。
更新日志
点击此处查看完整的变更列表。
更新日志
点击这里查看完整的变更列表。
更新日志
点击此处查看完整变更列表。
更新日志
点击这里查看完整的更改列表。
更新日志
点击这里查看完整的更改列表。
更新日志
点击这里查看完整的更改列表。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
让你能够在世界中的任何位置定位结构。
模组
一堆修复
模组
对 Minecraft 的沙漠神殿进行了全面重新设计!
评论 0
登录后参与评分
还没有评论,来抢沙发吧