Enum Class StoneCutterManager
java.lang.Object
java.lang.Enum<StoneCutterManager>
com.blamejared.crafttweaker.api.recipe.manager.StoneCutterManager
- All Implemented Interfaces:
CommandStringDisplayable,IRecipeManager<net.minecraft.world.item.crafting.StonecutterRecipe>,Serializable,Comparable<StoneCutterManager>,Constable,Iterable<net.minecraft.world.item.crafting.StonecutterRecipe>
@ZenRegister
public enum StoneCutterManager
extends Enum<StoneCutterManager>
implements IRecipeManager<net.minecraft.world.item.crafting.StonecutterRecipe>
- DocParam:
- this stoneCutter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface com.blamejared.crafttweaker.api.recipe.manager.base.IRecipeManager
JSON_RECIPE_GSON -
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.static StoneCutterManagerReturns the enum constant of this class with the specified name.static StoneCutterManager[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods 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
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
addRecipe
Adds a recipe to the stone cutter- Parameters:
recipeName- name of the recipeoutput- outputIItemStackinput- inputIIngredient- DocParam:
- recipeName "recipe_name", output <item:minecraft:grass>, input <tag:items: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.
-