Package com.petrolpark
Enum Class PetrolparkRecipeTypesOld
- All Implemented Interfaces:
IPetrolparkRecipeTypes,Serializable,Comparable<PetrolparkRecipeTypesOld>,Constable
@Deprecated
public enum PetrolparkRecipeTypesOld
extends Enum<PetrolparkRecipeTypesOld>
implements IPetrolparkRecipeTypes
Deprecated.
-
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.core.recipe.IPetrolparkRecipeTypes
IPetrolparkRecipeTypes.Registers -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>>
Optional<net.minecraft.world.item.crafting.RecipeHolder<R>> find(I craftingInput, net.minecraft.world.level.Level world) Deprecated.net.minecraft.resources.ResourceLocationgetId()Deprecated.<S extends net.minecraft.world.item.crafting.RecipeSerializer<?>>
SDeprecated.<I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>>
net.minecraft.world.item.crafting.RecipeType<R> getType()Deprecated.static final voidregister()Deprecated.static PetrolparkRecipeTypesOldDeprecated.Returns the enum constant of this class with the specified name.static PetrolparkRecipeTypesOld[]values()Deprecated.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.core.recipe.IPetrolparkRecipeTypes
is
-
Enum Constant Details
-
DECAYING_ITEM_COOKING
Deprecated.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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()Deprecated.- Specified by:
getIdin interfaceIPetrolparkRecipeTypes
-
getSerializer
public <S extends net.minecraft.world.item.crafting.RecipeSerializer<?>> S getSerializer()Deprecated.- Specified by:
getSerializerin interfaceIPetrolparkRecipeTypes
-
getType
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>> net.minecraft.world.item.crafting.RecipeType<R> getType()Deprecated.- Specified by:
getTypein interfaceIPetrolparkRecipeTypes
-
find
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<I>> Optional<net.minecraft.world.item.crafting.RecipeHolder<R>> find(I craftingInput, net.minecraft.world.level.Level world) Deprecated. -
register
public static final void register()Deprecated.
-