Class EmptyingManager
java.lang.Object
com.blamejared.createtweaker.recipe.manager.EmptyingManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.fluids.transfer.EmptyingRecipe>,IProcessingRecipeManager<com.simibubi.create.content.fluids.transfer.EmptyingRecipe>,Iterable<com.simibubi.create.content.fluids.transfer.EmptyingRecipe>
@ZenRegister
public class EmptyingManager
extends Object
implements IProcessingRecipeManager<com.simibubi.create.content.fluids.transfer.EmptyingRecipe>
-
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.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> outputItem, com.blamejared.crafttweaker.api.fluid.IFluidStack outputFluid, com.blamejared.crafttweaker.api.ingredient.IIngredient inputContainer, int duration) Adds an emptying recipe.com.simibubi.create.AllRecipeTypesvoidremove(com.blamejared.crafttweaker.api.fluid.CTFluidIngredient output) Removes emptying recipes based on the output FluidStack.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
-
EmptyingManager
public EmptyingManager()
-
-
Method Details
-
addRecipe
public void addRecipe(String name, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> outputItem, com.blamejared.crafttweaker.api.fluid.IFluidStack outputFluid, com.blamejared.crafttweaker.api.ingredient.IIngredient inputContainer, int duration) Adds an emptying recipe.- Parameters:
name- The name of the recipe.outputItem- The output item of the recipe.outputFluid- The output fluid of the recipe.inputContainer- The input container of the recipe (what is being filled).duration- The duration of the recipe in ticks (defaults to 100).
-
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 emptying recipes based on the output FluidStack.- Parameters:
output- The output FluidStack of the recipe.
-
getCreateRecipeType
public com.simibubi.create.AllRecipeTypes getCreateRecipeType()- Specified by:
getCreateRecipeTypein interfaceIProcessingRecipeManager<com.simibubi.create.content.fluids.transfer.EmptyingRecipe>
-