Enum Class PlantMood

java.lang.Object
java.lang.Enum<PlantMood>
nokunami.floral_warfare.common.entity.ai.PlantMood
All Implemented Interfaces:
Serializable, Comparable<PlantMood>, Constable

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

    • IS_MOOD

      public static final PlantMood IS_MOOD
    • IS_HAPPY

      public static final PlantMood IS_HAPPY
    • IS_VERY_HAPPY

      public static final PlantMood IS_VERY_HAPPY
    • IS_SAD

      public static final PlantMood IS_SAD
    • IS_DEPRESSED

      public static final PlantMood IS_DEPRESSED
  • Method Details

    • values

      public static PlantMood[] 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 PlantMood 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
    • string

      public String string()
    • value

      public int value()