Package com.simibubi.create
Enum Class AllRecipeTypes
- All Implemented Interfaces:
IRecipeTypeInfo,Serializable,Comparable<AllRecipeTypes>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescription<C extends net.minecraft.world.Container,T extends net.minecraft.world.item.crafting.Recipe<C>>
Optional<T>find(C inv, net.minecraft.world.level.Level world) net.minecraft.resources.ResourceLocationgetId()<T extends net.minecraft.world.item.crafting.RecipeSerializer<?>>
T<T extends net.minecraft.world.item.crafting.RecipeType<?>>
TgetType()static booleanisManualRecipe(net.minecraft.world.item.crafting.Recipe<?> recipe) static voidregister(net.minecraftforge.event.RegistryEvent.Register<net.minecraft.world.item.crafting.RecipeSerializer<?>> event) static <T extends net.minecraft.world.item.crafting.Recipe<?>>
net.minecraft.world.item.crafting.RecipeType<T>simpleType(net.minecraft.resources.ResourceLocation id) static AllRecipeTypesReturns the enum constant of this class with the specified name.static AllRecipeTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONVERSION
-
CRUSHING
-
CUTTING
-
MILLING
-
BASIN
-
MIXING
-
COMPACTING
-
PRESSING
-
SANDPAPER_POLISHING
-
SPLASHING
-
DEPLOYING
-
FILLING
-
EMPTYING
-
MECHANICAL_CRAFTING
-
SEQUENCED_ASSEMBLY
-
TOOLBOX_DYEING
-
-
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
-
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfaceIRecipeTypeInfo
-
getSerializer
public <T extends net.minecraft.world.item.crafting.RecipeSerializer<?>> T getSerializer()- Specified by:
getSerializerin interfaceIRecipeTypeInfo
-
getType
public <T extends net.minecraft.world.item.crafting.RecipeType<?>> T getType()- Specified by:
getTypein interfaceIRecipeTypeInfo
-
find
public <C extends net.minecraft.world.Container,T extends net.minecraft.world.item.crafting.Recipe<C>> Optional<T> find(C inv, net.minecraft.world.level.Level world) -
register
public static void register(net.minecraftforge.event.RegistryEvent.Register<net.minecraft.world.item.crafting.RecipeSerializer<?>> event) -
simpleType
public static <T extends net.minecraft.world.item.crafting.Recipe<?>> net.minecraft.world.item.crafting.RecipeType<T> simpleType(net.minecraft.resources.ResourceLocation id) -
isManualRecipe
public static boolean isManualRecipe(net.minecraft.world.item.crafting.Recipe<?> recipe)
-