Class CuttingManager
java.lang.Object
com.blamejared.createtweaker.recipe.manager.CuttingManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.saw.CuttingRecipe>,IProcessingRecipeManager<com.simibubi.create.content.kinetics.saw.CuttingRecipe>,Iterable<com.simibubi.create.content.kinetics.saw.CuttingRecipe>
@ZenRegister
public class CuttingManager
extends Object
implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.saw.CuttingRecipe>
-
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>[] outputs, com.blamejared.crafttweaker.api.ingredient.IIngredient input, int duration) Adds a recipe to the Cutter.voidaddRecipe(String name, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> output, com.blamejared.crafttweaker.api.ingredient.IIngredient input, int duration) Deprecated, for removal: This API element is subject to removal in a future version.com.simibubi.create.AllRecipeTypesMethods 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
-
CuttingManager
public CuttingManager()
-
-
Method Details
-
addRecipe
@Deprecated(forRemoval=true) public void addRecipe(String name, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> output, com.blamejared.crafttweaker.api.ingredient.IIngredient input, int duration) Deprecated, for removal: This API element is subject to removal in a future version.Adds a recipe to the Cutter.- Parameters:
name- The name of the recipe.output- The Percentaged IItemStack output.input- The input of the recipe.duration- The duration of the recipe in ticks (defaults to 100).
-
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 recipe to the Cutter.- Parameters:
name- The name of the recipe.outputs- The Percentaged IItemStack outputs.input- The input of the recipe.duration- The duration of the recipe in ticks (defaults to 100).
-
getCreateRecipeType
public com.simibubi.create.AllRecipeTypes getCreateRecipeType()- Specified by:
getCreateRecipeTypein interfaceIProcessingRecipeManager<com.simibubi.create.content.kinetics.saw.CuttingRecipe>
-