
修补匠阶段
这个模组接入了GameStage API,并允许将Tinkers Construct的多个方面纳入进度阶段。
Tinker Stages
本模组是 GameStage API 的扩展模组。它允许将 Tinkers Construct 的各个方面接入自定义进度系统。更多信息请查看 GameStage API 模组的描述。简要来说,阶段是模组整合包或服务器所设置的进度系统的一部分。阶段通过命令授予玩家,通常由任务模组、进度或甚至命令方块来执行。
本项目由 Nodecraft 赞助。使用代码 DARKHAX 即可享受首月服务 30% 折扣!
设置
本模组使用 CraftTweaker 进行配置。
通用限制
这些限制适用于整个系统,而非特定情况。这些 ZenScript 方法只有一个输入参数,即你希望限制该系统所要求的阶段。你可以为同一个系统添加多个阶段,只要玩家拥有其中至少一个阶段,就可以使用该系统。
- 工具制作 - 阻止玩家在 Tinker 工具站中制作工具,除非他们拥有该阶段。
mods.TinkerStages.addGeneralCraftingStage(String stage); - 部件替换 - 阻止玩家在工具站中替换工具部件,除非他们拥有该阶段。
mods.TinkerStages.addGeneralPartReplacingStage(String stage); - 部件构建 - 阻止玩家在部件构建器中构建部件,除非他们拥有该阶段。
mods.TinkerStages.addGeneralPartBuildingStage(String stage); - 应用强化 - 阻止玩家应用工具强化,除非他们拥有该阶段。
mods.TinkerStages.addGeneralModifierStage(String stage);
特定限制
这些限制适用于特定情况。它们有不同的输入参数,但都非常直观。
- 工具类型 - 阻止在工具站中制作特定工具类型。例如,你可以限制锤子的制作,直到解锁特定阶段。
mods.TinkerStages.addToolTypeStage(String stage, String toolId); - 材料阶段 - 阻止玩家使用某种材料。包括制作、部件构建和使用工具。
mods.TinkerStages.addMaterialStage(String stage, String material); - 强化阶段 - 阻止将特定强化应用到工具上或使用该强化。
mods.TinkerStages.addModifierStage(String stage, String modifier);
示例脚本
//GENERAL RESTRICTIONS //Prevents all tools unless the stage is unlocked. mods.TinkerStages.addGeneralCraftingStage("one");//Prevents all tool swapping unless the stage is unlcoked. mods.TinkerStages.addGeneralPartReplacingStage("one");
//Prvents all part building unless the stage is unlocked. mods.TinkerStages.addGeneralPartBuildingStage("one");
//Prevents applying any tool modifiers unless the stage is unlocked. mods.TinkerStages.addGeneralModifierStage("one");
//SPECIFIC RESTRICTIONS //Prevents crafting pickaxes unless the stage is unlocked. mods.TinkerStages.addToolTypeStage("two", "tconstruct:pickaxe");
//Prevents the material from being used. mods.TinkerStages.addMaterialStage("two", "stone");
//Prevents the modifier from being applied. mods.TinkerStages.addModifierStage("two", "mending_moss");
正在加载版本记录…

正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。