Class StoneCutterManager
java.lang.Object
com.blamejared.crafttweaker.api.recipe.manager.StoneCutterManager
- All Implemented Interfaces:
CommandStringDisplayable,IRecipeManager<net.minecraft.world.item.crafting.StonecutterRecipe>,Iterable<net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.StonecutterRecipe>>
@ZenRegister
public class StoneCutterManager
extends Object
implements IRecipeManager<net.minecraft.world.item.crafting.StonecutterRecipe>
- DocParam:
- this stoneCutter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipe(String recipeName, IItemStack output, IIngredient input) Adds a recipe to the stone cutternet.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.StonecutterRecipe> Gets the recipe type for the registry to remove from.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager
addJsonRecipe, createHolder, fixRecipeId, fixRecipeId, fixRecipeName, getAllRecipes, getBracketResourceLocation, getCommandString, getRecipeByName, getRecipeList, getRecipeMap, getRecipes, getRecipesByOutput, getRecipesMatching, iterator, remove, removeAll, removeByInput, removeByModid, removeByName, removeByRegex, removeMatchingMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
INSTANCE
-
-
Method Details
-
addRecipe
Adds a recipe to the stone cutter- Parameters:
recipeName- name of the recipeoutput- outputIItemStackinput- inputIIngredient- DocParam:
- recipeName "recipe_name", output invalid input: '<'item:minecraft:grass>, input invalid input: '<'tag:item:minecraft:wool>
-
getRecipeType
public net.minecraft.world.item.crafting.RecipeType<net.minecraft.world.item.crafting.StonecutterRecipe> getRecipeType()Description copied from interface:IRecipeManagerGets the recipe type for the registry to remove from.- Specified by:
getRecipeTypein interfaceIRecipeManager<net.minecraft.world.item.crafting.StonecutterRecipe>- Returns:
- IRecipeType of this registry.
-