Recipe Machine Stages ZS/JS avatar

Recipe Machine Stages ZS/JS [1.20.1] [1.19.2]

Recipe Machine Stage

Данный мод позволяет блокировать рецепты для механизмов аналогично реализации в Recipe Stages для верстака.

Какие моды поддерживаются?

Список поддерживаемых модов доступен на Github

Как использовать?

Функционал реализован достаточно просто. Требуется установка модов (CraftTweaker и Game Stages) или KubeJS, или (AStages).

AStages

Инструкции по использованию

KubeJS (Серверные скрипты)

//kubejs/server_scripts/example.js

RecipeMachineStage.addRecipe(String recipeType, String recipeID, String stage)

RecipeMachineStage.addRecipe('create:milling', 'create:milling/fern', 'two')
RecipeMachineStage.addRecipe("minecraft:smelting", "minecraft:stone", "one")


RecipeMachineStage.addRecipes(String recipeType, String[] recipeIDs, String stage)
RecipeMachineStage.addRecipes("minecraft:smelting", ["minecraft:stone", "minecraft:iron_ingot"], "one")

CraftTweaker

import mods.recipemachinestage.RecipeMachineStage;

RecipeMachineStage.addRecipe(recipeType as string, recipeID as string, stage as string)
RecipeMachineStage.addRecipe(recipeType as string, recipeID as string[], stage as string)
RecipeMachineStage.addRecipeByMod(recipeType as string, modId as string, stage as string)
RecipeMachineStage.addRecipeByMod(recipeType as string, modId as string[], stage as string)

RecipeMachineStage.addRecipe(recipeType as RecypeType, recipeID as string, stage as string)
RecipeMachineStage.addRecipe(recipeType as RecypeType, recipeID as string[], stage as string)
RecipeMachineStage.addRecipeByMod(recipeType as RecypeType, modId as string, stage as string)
RecipeMachineStage.addRecipeByMod(recipeType as RecypeType, modId as string[], stage as string)

Описание параметров

  • recipeType - Тип рецепта (В CraftTweaker &lt;recipeType:minecraft:smelting&gt; указывается без префикса <recypetype>. Пример: "minecraft:smelting")
  • recipeID - Идентификатор рецепта ("minecraft:iron_ingot_from_blasting_iron_ore", "mekanism:processing/iron/enriched" и т.д.)
  • stage - Стадия блокировки рецепта ("one" и т.д.)

Примеры

import mods.recipemachinestage.RecipeMachineStage;

RecipeMachineStage.addRecipe("minecraft:smelting", "minecraft:stone", "one");
RecipeMachineStage.addRecipe(&lt;recypetype:minecraft:smelting&gt;, "minecraft:stone", "one");
//Botania (Mana Infusion)
RecipeMachineStage.addRecipe("botania:mana_infusion", "botania:mana_infusion/mana_diamond", "two");
RecipeMachineStage.addRecipe(&lt;recypetype:botania:mana_infusion&gt;, "botania:mana_infusion/mana_diamond", "two");
//Mekanism (Metallurgic Infusing)
RecipeMachineStage.addRecipe("mekanism:metallurgic_infusing", "mekanism:processing/iron/enriched", "three");
RecipeMachineStage.addRecipe(&lt;recypetype:mekanism:metallurgic_infusing&gt;, "mekanism:processing/iron/enriched", "three");

RecipeMachineStage.addRecipe("minecraft:smelting", ["minecraft:stone", "minecraft:iron_ingot"], "one");
RecipeMachineStage.addRecipe(&lt;recypetype:minecraft:smelting&gt;, ["minecraft:stone", "minecraft:iron_ingot"], "one");

RecipeMachineStage.addRecipeByMod("minecraft:smelting", "minecraft", "one");
RecipeMachineStage.addRecipeByMod(&lt;recypetype:minecraft:smelting&gt;, "minecraft", "one");

RecipeMachineStage.addRecipeByMod("minecraft:smelting", ["minecraft", "create"], "one");
RecipeMachineStage.addRecipeByMod(&lt;recypetype:minecraft:smelting&gt;, ["minecraft", "create"], "one");

Требуемые зависимости

Скачать Recipe Machine Stages ZS/JS

 
Тип Скачать Версия Загрузчик Обновлено Размер
Releaserecipemachinestage-1.20.1-1.3.0.jar1.20.1NeoForge24 сентября 2024123,8 КБ
Releaserecipemachinestage-1.20.1-1.1.0.jar1.20.1NeoForge23 сентября 202460,7 КБ
Releaserecipemachinestage-1.19.2-1.1.0.jar1.19.2Forge23 сентября 202456,6 КБ
Releaserecipemachinestage-1.19.2-1.1.1.jar1.19.2Forge23 сентября 202456,9 КБ
Releaserecipemachinestage-1.20.1-1.1.1.jar1.20.1NeoForge23 сентября 202458,5 КБ
Releaserecipemachinestage-1.19.2-1.1.2.jar1.19.2Forge23 сентября 202454,7 КБ
Releaserecipemachinestage-1.20.1-1.2.0.jar1.20.1NeoForge23 сентября 202477,4 КБ
Пожалуйста авторизуйтесь, чтобы оставить свой комментарий.