介绍
介绍由机器翻译自 CurseForge 原页面,仅供参考。
游戏阶段条件
添加一个条件谓词,可用于战利品表等数据驱动文件,让某些内容根据玩家所处的阶段触发。
如果你想根据玩家当前的进度生成物品,这对战利品表很有用。
推荐使用 Lootr
需要 Game Stages
stage1、stage2 和默认阶段的示例(未应用任何阶段时使用默认阶段)

v 下方图片内容的可复制粘贴文本版本,方便使用 v
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/end_city_treasure",
"conditions": [
{
"condition": "gamestageconditions:stage",
"stage": "stage_2"
}
]
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/ruined_portal",
"conditions": [
{
"condition": "gamestageconditions:stage",
"stage": "stage_1"
}
]
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/jungle_temple"
}
]
}
]
}
]
}
从 v1.2 开始,还可以将触发器应用于进度等内容:


常见问题
Game Stages Conditions 支持哪些 Minecraft 版本?
Game Stages Conditions 支持 Minecraft Java 版 1.16.5–1.19.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Game Stages Conditions 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Quarris 的其他作品
查看全部 →Pretty Pipes: Fluids
by Quarris
Pretty Pipes 附属模组,新增流体管道,方便输送各种流体!
558.8万
1 年前
Modrinth · CurseForge
Enigmatic Graves
by Quarris, Mute_Tiefling 等
直观且持久的墓碑
345.9万
3 年前
CurseForge
Rebirth of the Mobs
by Quarris, SandwichHorror
让怪物再次变得恐怖。专为 Rebirth of the Night(RotN)打造。
102.9万
5 年前
CurseForge
Eidolon Data Recipes
by Quarris
为 Eidolon 添加可通过数据包配置的配方。
77万
4 年前
CurseForge
评论
登录后评论和评分