Download Recipe Machine Stages ZS/JS — Minecraft Mods — ModStock

Recipe Machine Stages ZS/JS

Active

Downloads

0

Last update

1 month ago
Client
Utils
Addons

Recipe Machine Stage

This mod provides the ability to block recipes for mechanisms, similar to how it is implemented in Recipe Stages for the workbench.

What mods are supported ?

The list of supported mods can be found here Gihub

How to use it ?

Everything works very simply. You only need to install the (CraftTweaker and Game Stages) or KubeJS or (AStages) mods.

AStages

See wiki for know how to use it

KubeJS (Server Scripts)

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

Description

  • recipeType - Recipe Type (In CraftTweaker &lt;recipeType:minecraft:smelting&gt; you need write without prefix <recypetype>. "minecraft:smelting")
  • recipeID - Recipe ID ("minecraft:iron_ingot_from_blasting_iron_ore", "mekanism:processing/iron/enriched" etc.);
  • stage - Stage who block the recipe ("one" etc.)

Example

import mods.recipemachinestage.RecipeMachineStage;

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

RecipeMachineStage.addRecipe("minecraft:smelting", ["minecraft:stone", "minecraft:iron_ingot"], "one");
RecipeMachineStage.addRecipe(<recypetype:minecraft:smelting>, ["minecraft:stone", "minecraft:iron_ingot"], "one");

RecipeMachineStage.addRecipeByMod("minecraft:smelting", "minecraft", "one");
RecipeMachineStage.addRecipeByMod(<recypetype:minecraft:smelting>, "minecraft", "one");

RecipeMachineStage.addRecipeByMod("minecraft:smelting", ["minecraft", "create"], "one");
RecipeMachineStage.addRecipeByMod(<recypetype:minecraft:smelting>, ["minecraft", "create"], "one");

Discord

Donate

Project members
Sixik

Sixik