Class PressingManager
java.lang.Object
com.blamejared.createtweaker.recipe.manager.PressingManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.press.PressingRecipe>,IProcessingRecipeManager<com.simibubi.create.content.kinetics.press.PressingRecipe>,Iterable<com.simibubi.create.content.kinetics.press.PressingRecipe>
@ZenRegister
public class PressingManager
extends Object
implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.press.PressingRecipe>
-
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.IIngredientWithAmount input, int duration) Adds a pressing recipe.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
-
PressingManager
public PressingManager()
-
-
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.IIngredientWithAmount input, int duration) Adds a pressing 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:
getCreateRecipeTypein interfaceIProcessingRecipeManager<com.simibubi.create.content.kinetics.press.PressingRecipe>
-