TinkerStages 图标

TinkerStages

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.0.17
本资源为搬运资源,原资源地址: https://modrinth.com/mod/tinkerstages
资源信息

Minecraft 版本: 1.12.2

平台: forge

标签: utility

资源介绍

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


📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Fortress of War | Nether Fortress Update

价格:0 墨喵币
下载量:0

查看详情
Charming Moon

价格:0 墨喵币
下载量:0

查看详情
Small Swords

价格:0 墨喵币
下载量:0

查看详情
Entangled

价格:0 墨喵币
下载量:0

查看详情