Class ItemApplicationManager
java.lang.Object
com.blamejared.createtweaker.recipe.manager.ItemApplicationManager
- All Implemented Interfaces:
com.blamejared.crafttweaker.api.bracket.CommandStringDisplayable,com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager<com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe>,IProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe>,Iterable<com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe>
@ZenRegister
public class ItemApplicationManager
extends Object
implements IProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe>
-
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 block, com.blamejared.crafttweaker.api.ingredient.IIngredient heldItem, boolean keepHeldItem) Adds a new item application 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
-
ItemApplicationManager
public ItemApplicationManager()
-
-
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.IIngredient block, com.blamejared.crafttweaker.api.ingredient.IIngredient heldItem, boolean keepHeldItem) Adds a new item application recipe.- Parameters:
name- The name of the recipe.outputs- The recipe outputsblock- The block to be applied onheldItem- The item that needs to be heldkeepHeldItem- Should the item be consumed or not
-
getCreateRecipeType
public com.simibubi.create.AllRecipeTypes getCreateRecipeType()- Specified by:
getCreateRecipeTypein interfaceIProcessingRecipeManager<com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe>
-