Class CompactingManager
java.lang.Object
com.blamejared.createtweaker.recipe.manager.CompactingManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.mixer.CompactingRecipe>,IProcessingRecipeManager<com.simibubi.create.content.kinetics.mixer.CompactingRecipe>,Iterable<com.simibubi.create.content.kinetics.mixer.CompactingRecipe>
@ZenRegister
public class CompactingManager
extends Object
implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.mixer.CompactingRecipe>
-
Field Summary
Fields inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager
JSON_RECIPE_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipe(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 recipe to the Compactor that outputs FluidStacks.voidaddRecipe(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.voidaddRecipe(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 recipe to the Compactor that outputs ItemStacks.voidaddRecipe(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.AllRecipeTypesvoidremove(com.blamejared.crafttweaker.api.fluid.CTFluidIngredient output) Removes a recipe based on the outputIFluidStack.voidremove(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, waitMethods inherited from interface com.blamejared.createtweaker.recipe.manager.base.IProcessingRecipeManager
getRecipeType, getSerializer, registerRecipeMethods 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, removeByRegexMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CompactingManager
public CompactingManager()
-
-
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 recipe to the Compactor 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 recipe to the Compactor 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 a recipe based on the outputIFluidStack.- Parameters:
output- The output FluidStack
-
getCreateRecipeType
public com.simibubi.create.AllRecipeTypes getCreateRecipeType()- Specified by:
getCreateRecipeTypein interfaceIProcessingRecipeManager<com.simibubi.create.content.kinetics.mixer.CompactingRecipe>
-