Enum Class EnumCurryKey

java.lang.Object
java.lang.Enum<EnumCurryKey>
com.pixelmonmod.pixelmon.enums.EnumCurryKey
All Implemented Interfaces:
Serializable, Comparable<EnumCurryKey>, Constable

public enum EnumCurryKey extends Enum<EnumCurryKey>
  • Enum Constant Details

  • Method Details

    • values

      public static EnumCurryKey[] 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

      public static EnumCurryKey valueOf(String name)
      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 name
      NullPointerException - 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