Package com.pixelmonmod.pixelmon.enums
Enum Class EnumCurryKey
- All Implemented Interfaces:
Serializable
,Comparable<EnumCurryKey>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Item
Gets the curry dish of the EnumCurryKey it is called from.net.minecraft.world.item.Item
Gets the curry ingredient of the EnumCurryKey it is called from.net.minecraft.world.item.Item
net.minecraft.resources.ResourceLocation
int
static EnumCurryKey
Returns the enum constant of this class with the specified name.static EnumCurryKey[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAIN
-
TOAST
-
PASTA
-
FRIED_FOOD
-
INSTANT_NOODLE
-
BURGER
-
SAUSAGE
-
BEANS
-
MUSHROOM
-
POTATO
-
SALAD
-
SEASONED
-
JUICY
-
RICH
-
BONE
-
HERB
-
CREAM
-
DECORATIVE
-
COCONUT
-
SMOKE_POKE
-
LEEK
-
APPLE
-
BOILED_EGG
-
TROPICAL
-
CHEESE
-
GIGANTAMIX
-
-
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
-
getRatingBoost
public int getRatingBoost() -
getDishItem
public net.minecraft.world.item.Item getDishItem() -
getDishTexture
public net.minecraft.resources.ResourceLocation getDishTexture() -
getCurryIngredientItem
@Nullable public net.minecraft.world.item.Item getCurryIngredientItem()Gets the curry ingredient of the EnumCurryKey it is called from.- Returns:
- A curry ingredient Item, which may be null in the case that the PLAIN enum value is used.
-
getCurryDishItem
public net.minecraft.world.item.Item getCurryDishItem()Gets the curry dish of the EnumCurryKey it is called from.- Returns:
- Curry Dish
-