Ore Stages
本模组是 GameStage API 的附属模组。它允许将世界中的方块(例如矿石)放入游戏阶段中。你应该查看 GameStage API 模组的描述以获取更多信息。简要说明一下,阶段是模组整合包或服务器设置的进度系统的一部分。阶段通过命令授予玩家,通常由任务模组、进度或甚至命令方块来执行。
本项目由 Nodecraft 赞助。使用代码 Darkhax 可享受首月服务 30% 的折扣!
设置
本模组使用 CraftTweaker 进行配置。
被阶段化时会发生什么?
如果玩家没有该方块对应的正确阶段
- 该方块将看起来像它所隐藏成的方块。
- 玩家将无法右键点击该方块。
- 该方块将掉落其替代方块会掉落的物品。
- 该方块的挖掘时间将与其替代方块相同。
在没有玩家在场的情况下,将假定不存在阶段。这被称为默认行为。
将方块改回正常状态会导致卡顿吗?
取消隐藏方块非常快。该过程涉及在客户端重新加载区块渲染器。虽然这听起来可能很复杂或会导致卡顿,但实际上非常简单,即使在较慢的电脑上也最多只需要一两秒。这与在原版中按下 f3 + a 相同。
CraftTweaker 方法
此方法可用于将方块替换为原版石头。
mods.orestages.OreStages.addReplacement(String stage, IIngredient original);
此方法可用于将方块替换为另一个方块。
mods.orestages.OreStages.addReplacement(String stage, IIngredient original, IItemStack replacement);
此方法可用于通过指定确切的方块 id 将方块替换为另一个方块。上述两种方法仅适用于带有物品的方块。
mods.orestages.OreStages.addReplacementById(String stage, String original, String replacement);
以下方法用于添加不使用默认行为的替换。也就是说,如果没有玩家破坏方块(水、爆炸、机器),该方块将像未被隐藏一样被破坏。
mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original);
mods.orestages.OreStages.addNonDefaultingReplacement(String stage, IIngredient original, IItemStack replacement);
mods.orestages.OreStages.addNonDefaultingReplacementById(String stage, String original, String replacement);
示例脚本
mods.orestages.OreStages.addReplacementById("one", "minecraft:potatoes:", "minecraft:tallgrass:2"); mods.orestages.OreStages.addReplacementById("two", "minecraft:wheat:", "minecraft:carrots:3"); mods.orestages.OreStages.addReplacementById("three", "minecraft:netherwart:", "minecraft:beetroots"); mods.orestages.OreStages.addReplacement("four", <minecraft:dirt>, <minecraft:stone>); mods.orestages.OreStages.addReplacement("one", <minecraft:obsidian>, <minecraft:cobblestone>); mods.orestages.OreStages.addNonDefaultingReplacement("one", <minecraft:torch:>, <minecraft:redstonetorch>); mods.orestages.OreStages.addReplacement("five", <minecraft:furnace:>, <minecraft:stone>);
如何安装 Ore Stages
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.12.2 automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Download the file for your version
In the version list above, pick the file OreStages-1.12.2-2.0.38.jar (35 KB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Ore Stages should be in the list.
Minecraft 1.12.2 runs on Java 8: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.12.2 | — | OreStages-1.12.2-2.0.38.jar34.5 KB | ||
| 1.12.2 | — | OreStages-1.12.2-2.0.37.jar31.1 KB |
评价
成为第一个评价 Ore Stages 的人

