跳到正文

TinkerStages

作者:Darkhax

This mod hooks in to the GameStage API, and allows various aspects of Tinkers Construct to be put into progression stages.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Tinker Stages

This mod is an addon for the GameStage API. This allows for access to aspects of Tinkers Construct to be put into custom progression systems. You should check out the GameStage API mod’s description for more info. To give a brief run down, stages are parts of the progression system set up by the modpack or server. Stages are given to players through a command, which is typically ran by a questing mod, advancement, or even a Command Block.

Nodecraft sponsor banner

This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!

Setup

This mod uses CraftTweaker for configuration.

General Restrictions

These are restrictions that apply to entire systems rather than specific situations. These ZenScript methods have one input, which is the stage you want to restrict the system to. You can add multiple stages for the same system, and the player will have access to the system if they have at least one of those stages.

  • Tool Crafting – Prevents the player from crafting tools in the Tinker tool station unless they have the stage. mods.TinkerStages.addGeneralCraftingStage(String stage);
  • Part Replacing – Prevents the player from replacing tool parts at the tool station, unless they have the stage. mods.TinkerStages.addGeneralPartReplacingStage(String stage);
  • Part Building – Prevents the player from building parts in the part builder, unless they have the stage. mods.TinkerStages.addGeneralPartBuildingStage(String stage);
  • Applying Modifiers – Prevents the player from applying tool modifiers, unless they have the stage. mods.TinkerStages.addGeneralModifierStage(String stage);

Specific Restrictions

These restrictions apply to a specific situation. They have varying inputs, but are all very straight forward.

  • Tool Type – Prevents a specific tool type from being crafted at the tool station. For example, you can restrict the crafting of hammers until a specific stage. mods.TinkerStages.addToolTypeStage(String stage, String toolId);
  • Material Stage – Prevents a material from being used by the player. Including crafting, part building, and using the tool. mods.TinkerStages.addMaterialStage(String stage, String material);
  • Modifier Stage – Prevents a specific modifier from being applied to a tool or used. mods.TinkerStages.addModifierStage(String stage, String modifier);

Example Script

//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");

常见问题

TinkerStages 支持哪些 Minecraft 版本?

TinkerStages 支持 Minecraft Java 版 1.12–1.12.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

TinkerStages 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Darkhax 的其他作品

查看全部 →