Package com.petrolpark.compat.create
Enum Class CreateRecipeTypes
- All Implemented Interfaces:
IPetrolparkRecipeTypes,com.simibubi.create.foundation.recipe.IRecipeTypeInfo,Serializable,Comparable<CreateRecipeTypes>,Constable
public enum CreateRecipeTypes
extends Enum<CreateRecipeTypes>
implements IPetrolparkRecipeTypes, com.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface com.petrolpark.recipe.IPetrolparkRecipeTypes
IPetrolparkRecipeTypes.Registers -
Enum Constant Summary
Enum Constants -
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 CreateRecipeTypesReturns the enum constant of this class with the specified name.static CreateRecipeTypes[]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.petrolpark.recipe.IPetrolparkRecipeTypes
is
-
Enum Constant Details
-
FIRST_TIME_LUCKY_MILLING
-
-
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 interfaceIPetrolparkRecipeTypes- Specified by:
getIdin interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
getSerializer
public <T extends net.minecraft.world.item.crafting.RecipeSerializer<?>> T getSerializer()- Specified by:
getSerializerin interfaceIPetrolparkRecipeTypes- Specified by:
getSerializerin interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
getType
public <T extends net.minecraft.world.item.crafting.RecipeType<?>> T getType()- Specified by:
getTypein interfaceIPetrolparkRecipeTypes- Specified by:
getTypein interfacecom.simibubi.create.foundation.recipe.IRecipeTypeInfo
-
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)
-