Lootables
一个功能更丰富的数据驱动战利品 API,为游戏添加了更完善的战利品系统。奖励玩家任何东西,而不仅仅是物品,并支持随机掉落或通过基于选择的图形界面提供战利品。
简单的表格创建
使用简单且文档齐全的 Lootable Table JSON 格式,轻松创建和使用你的战利品。
- 重用池!Lootable 池拥有自己的 ID,因此可以在多个表格中通过该 ID 引用它们。
- 添加和覆盖表格与池。战利品表的一个痛点是无法在不覆盖整个表的情况下更改内容。Lootable 表在加载时像标签(Tags)一样组合而成。可以添加到现有表中,覆盖表中的某个池,甚至更改单个表中单个池里的一个字段。
- 有关详细信息,请参阅 Wiki。
多样化的奖励
当前的奖励类型包括:
- 单个物品
- 抽取战利品池
- 抽取战利品表
- 给予玩家经验值
- 治疗玩家
- 属性提升(临时或永久)
- 状态效果增益
- 授予进度目标(advancement)
- 对玩家装备的物品应用物品修饰符
- 在代码中定义并注册的自定义池类型
- 根据需要自由混合搭配池
- 复杂的权重系统,用于精确定义掉落概率
战利品选择 GUI
原版战利品始终随机抽取。Lootables 添加了一种类似 TFT 海克斯科技、杀戮尖塔卡牌升级等的战利品选择系统。

Lootables
Simple Data-Driven Loot API that add a more featureful loot system. Reward players with anything, not just items, and supply loot randomly or with a choice-based GUI.
Easy Table Creation
With a straightforward and well-documented Lootable Table json format, easily create and use your loot.
- Reuse pools! Lootable pools have their own IDs, so can be referenced by that ID in multiple tables.
- Add to and overwrite tables and pools. A frustration with loot tables is the inability to change content without overwriting the whole table. Lootable Tables are composed during loading like Tags. Add to an existing table, overwrite one pool in a table, even change one field in one pool in one table.
- See the Wiki for details.
Diverse Rewards
Current reward types include
- A Single Item
- Roll a Loot Pool
- Roll a Loot Table
- Grant Player XP
- Heal the Player
- Attribute boost, temporary or permanent
- Status effect buff
- Grant an advancement
- Apply item modifiers to player-equipped items
- Custom pool types defined and registered in-code
- Mix and match pools as you see fit
- Intricate weighting system for carefully defining loot chances
Loot Choice GUI
Vanilla loot always rolls randomly. Lootables adds a loot-choice system like TFT augments, Slay the Spire deck upgrades, etc.

下载 Lootables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Lootables
下载 Lootables
下载 Lootables
下载 Lootables
下载 Lootables
0.2.0+1.21.1+neoforge 更新日志
新增
- 现在支持 Multiloader!目前支持 Fabric 和 Neoforge 1.21.1。
- 新增
command可拾取奖池。将使用 op 等级 2 执行提供的命令。- 为使用此功能的可拾取奖池添加一个
desc,否则玩家将不知道该命令的作用!
- 为使用此功能的可拾取奖池添加一个
LootablesApi中新增resetKey方法。这些方法会重置特定的IdKey,允许玩家重新开始投掷与该 id 关联的奖表。- 新增
LootablesDataProvider,用于通过数据生成(datagen)生成 Lootables 数据。- 这目前尚未经过测试!如果在我自己完成测试之前你遇到任何问题,请告诉我,我会发布补丁。
更改
lootables命令现在拥有keyed选项,允许通过命令构建带密钥的奖表。- 带密钥的奖表只能由特定玩家投掷有限次数。
LootablesData已被设为内部类,因为它本就该如此。
修复
- 不再向玩家“提供”空的选择奖池(这会导致出现无法做出选择的空白屏幕)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧