Class MixingManager

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

@ZenRegister public class MixingManager extends Object implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.mixer.MixingRecipe>
  • 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.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.fluid.IFluidStack[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient[] fluidInputs, int duration)
    Adds a mixing recipe that outputs FluidStacks.
    void
    addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.fluid.IFluidStack[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.IFluidStack[] fluidInputs, int duration)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient[] fluidInputs, int duration)
    Adds a mixing recipe that outputs ItemStacks.
    void
    addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.IFluidStack[] fluidInputs, int duration)
    Deprecated, for removal: This API element is subject to removal in a future version.
    com.simibubi.create.AllRecipeTypes
     
    void
    remove(com.blamejared.crafttweaker.api.fluid.CTFluidIngredient output)
    Removes recipes based on the output fluid.
    void
    remove(com.blamejared.crafttweaker.api.fluid.IFluidStack output)
    Deprecated, for removal: This API element is subject to removal in a future version.

    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

    • MixingManager

      public MixingManager()
  • Method Details

    • addRecipe

      @Deprecated(forRemoval=true) public void addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.IFluidStack[] fluidInputs, int duration)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addRecipe

      @Deprecated(forRemoval=true) public void addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.fluid.IFluidStack[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.IFluidStack[] fluidInputs, int duration)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addRecipe

      public void addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient[] fluidInputs, int duration)
      Adds a mixing recipe that outputs ItemStacks.
      Parameters:
      name - The name of the recipe.
      heat - The required heat of the recipe.
      outputs - The output ItemStacks of the recipe.
      itemInputs - The item inputs of the recipe.
      fluidInputs - The optional fluid inputs of the recipe.
      duration - The duration of the recipe in ticks.
    • addRecipe

      public void addRecipe(String name, com.simibubi.create.content.processing.recipe.HeatCondition heat, com.blamejared.crafttweaker.api.fluid.IFluidStack[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredientWithAmount[] itemInputs, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient[] fluidInputs, int duration)
      Adds a mixing recipe that outputs FluidStacks.
      Parameters:
      name - The name of the recipe.
      heat - The required heat of the recipe.
      outputs - The output FluidStacks of the recipe.
      itemInputs - The item inputs of the recipe.
      fluidInputs - The optional fluid inputs of the recipe.
      duration - The duration of the recipe in ticks.
    • remove

      @Deprecated(forRemoval=true) public void remove(com.blamejared.crafttweaker.api.fluid.IFluidStack output)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • remove

      public void remove(com.blamejared.crafttweaker.api.fluid.CTFluidIngredient output)
      Removes recipes based on the output fluid.
      Parameters:
      output - The output fluid of the recipes to remove.
    • getCreateRecipeType

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