Class MillingManager

java.lang.Object
com.blamejared.createtweaker.recipe.manager.MillingManager
All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable, com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.millstone.MillingRecipe>, IProcessingRecipeManager<com.simibubi.create.content.kinetics.millstone.MillingRecipe>, Iterable<com.simibubi.create.content.kinetics.millstone.MillingRecipe>

@ZenRegister public class MillingManager extends Object implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
  • 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
    addRecipe(String name, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredient input, int duration)
    Adds a milling recipe.
    com.simibubi.create.AllRecipeTypes
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.blamejared.createtweaker.recipe.manager.base.IProcessingRecipeManager

    getRecipeType, getSerializer, registerRecipe

    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

    • MillingManager

      public MillingManager()
  • Method Details

    • addRecipe

      public void addRecipe(String name, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredient input, int duration)
      Adds a milling recipe.
      Parameters:
      name - The name of the recipe.
      outputs - The outputs of the recipe
      input - The input of the recipe.
      duration - The duration of the recipe (default 100 ticks).
    • getCreateRecipeType

      public com.simibubi.create.AllRecipeTypes getCreateRecipeType()
      Specified by:
      getCreateRecipeType in interface IProcessingRecipeManager<com.simibubi.create.content.kinetics.millstone.MillingRecipe>