Enum Class Food

java.lang.Object
java.lang.Enum<Food>
org.highlife.api.data.consumables.Food
All Implemented Interfaces:
Serializable, Comparable<Food>, Constable

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

    • ANCHOVIES

      public static final Food ANCHOVIES
    • SHRIMP

      public static final Food SHRIMP
    • COOKED_CHICKEN

      public static final Food COOKED_CHICKEN
    • COOKED_MEAT

      public static final Food COOKED_MEAT
    • SARDINE

      public static final Food SARDINE
    • BREAD

      public static final Food BREAD
    • HERRING

      public static final Food HERRING
    • TROUT

      public static final Food TROUT
    • PIKE

      public static final Food PIKE
    • PEACH

      public static final Food PEACH
    • SALMON

      public static final Food SALMON
    • TUNA

      public static final Food TUNA
    • REDBERRY_PIE

      public static final Food REDBERRY_PIE
    • JUG_OF_WINE

      public static final Food JUG_OF_WINE
    • STEW

      public static final Food STEW
    • CAKE

      public static final Food CAKE
    • MEAT_PIE

      public static final Food MEAT_PIE
    • LOBSTER

      public static final Food LOBSTER
    • BASS

      public static final Food BASS
    • PLAIN_PIZZA

      public static final Food PLAIN_PIZZA
    • SWORDFISH

      public static final Food SWORDFISH
    • POTATO_WITH_BUTTER

      public static final Food POTATO_WITH_BUTTER
    • CHILLI_POTATO

      public static final Food CHILLI_POTATO
    • APPLE_PIE

      public static final Food APPLE_PIE
    • CHOCOLATE_CAKE

      public static final Food CHOCOLATE_CAKE
    • CHOCOLATE_BOMB

      public static final Food CHOCOLATE_BOMB
    • POTATO_WITH_CHEESE

      public static final Food POTATO_WITH_CHEESE
    • MEAT_PIZZA

      public static final Food MEAT_PIZZA
    • MONKFISH

      public static final Food MONKFISH
    • ANCHOVY_PIZZA

      public static final Food ANCHOVY_PIZZA
    • COOKED_KARAMBWAN

      public static final Food COOKED_KARAMBWAN
    • CURRY

      public static final Food CURRY
    • SHARK

      public static final Food SHARK
    • SEA_TURTLE

      public static final Food SEA_TURTLE
    • PINEAPPLE_PIZZA

      public static final Food PINEAPPLE_PIZZA
    • SUMMER_PIE

      public static final Food SUMMER_PIE
    • WILD_PIE

      public static final Food WILD_PIE
    • MANTA_RAY

      public static final Food MANTA_RAY
    • TUNA_POTATO

      public static final Food TUNA_POTATO
    • DARK_CRAB

      public static final Food DARK_CRAB
    • ANGLERFISH

      public static final Food ANGLERFISH
    • BLIGHTED_KARAMBWAN

      public static final Food BLIGHTED_KARAMBWAN
    • BLIGHTED_MANTA_RAY

      public static final Food BLIGHTED_MANTA_RAY
    • BLIGHTED_ANGLERFISH

      public static final Food BLIGHTED_ANGLERFISH
    • CHOC_ICE

      public static final Food CHOC_ICE
  • Method Details

    • values

      public static Food[] 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 Food 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
    • getFilter

      public Filter<Item> getFilter()
    • getFromInventory

      public Item getFromInventory()
    • eat

      public boolean eat()
    • getBestOnHand

      public static Food getBestOnHand(boolean overEat)
    • getHeals

      public int getHeals()
    • eat

      public static boolean eat(boolean overEat)
    • eat

      public static boolean eat(int minHealth, boolean overEat)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Food>
    • getNames

      public String[] getNames()
    • getCondition

      public Condition getCondition()