Class MechanicalCrafterManager

java.lang.Object
com.blamejared.createtweaker.recipe.manager.MechanicalCrafterManager
All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable, com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe>, Iterable<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe>

@ZenRegister public class MechanicalCrafterManager extends Object implements com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe>
  • Field Summary

    Fields inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager

    JSON_RECIPE_GSON
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMirroredRecipe(String name, com.blamejared.crafttweaker.api.item.IItemStack output, com.blamejared.crafttweaker.api.ingredient.IIngredient[][] ingredients)
    Adds a mirrored recipe to the Mechanical Crafter.
    void
    addRecipe(String name, com.blamejared.crafttweaker.api.item.IItemStack output, com.blamejared.crafttweaker.api.ingredient.IIngredient[][] ingredients)
    Adds a recipe to the Mechanical Crafter.
    net.minecraft.world.item.crafting.RecipeType<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager

    addJsonRecipe, fixRecipeName, getAllRecipes, getBracketResourceLocation, getCommandString, getRecipeByName, getRecipeList, getRecipeMap, getRecipes, getRecipesByOutput, iterator, remove, removeAll, removeByInput, removeByModid, removeByName, removeByName, removeByRegex

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • MechanicalCrafterManager

      public MechanicalCrafterManager()
  • Method Details

    • addRecipe

      public void addRecipe(String name, com.blamejared.crafttweaker.api.item.IItemStack output, com.blamejared.crafttweaker.api.ingredient.IIngredient[][] ingredients)
      Adds a recipe to the Mechanical Crafter.
      Parameters:
      name - The name of the recipe.
      output - The output of the recipe.
      ingredients - The ingredients of the recipe.
    • addMirroredRecipe

      public void addMirroredRecipe(String name, com.blamejared.crafttweaker.api.item.IItemStack output, com.blamejared.crafttweaker.api.ingredient.IIngredient[][] ingredients)
      Adds a mirrored recipe to the Mechanical Crafter.
      Parameters:
      name - The name of the recipe.
      output - The output of the recipe.
      ingredients - The ingredients of the recipe.
    • getRecipeType

      public net.minecraft.world.item.crafting.RecipeType<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe> getRecipeType()
      Specified by:
      getRecipeType in interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe>