Enum Class PlantPose

java.lang.Object
java.lang.Enum<PlantPose>
nokunami.floral_warfare.common.entity.plants.PlantPose
All Implemented Interfaces:
Serializable, Comparable<PlantPose>, Constable, net.minecraftforge.common.IExtensibleEnum

public enum PlantPose extends Enum<PlantPose> implements net.minecraftforge.common.IExtensibleEnum
  • Enum Constant Details

    • SPAWN

      public static final PlantPose SPAWN
    • STAND

      public static final PlantPose STAND
    • SIT

      public static final PlantPose SIT
    • UN_SIT

      public static final PlantPose UN_SIT
    • SLEEPING

      public static final PlantPose SLEEPING
    • SLEEP

      public static final PlantPose SLEEP
    • WAKING_UP

      public static final PlantPose WAKING_UP
    • DYING

      public static final PlantPose DYING
    • REVIVED

      public static final PlantPose REVIVED
    • HIDING

      public static final PlantPose HIDING
    • UNHIDE

      public static final PlantPose UNHIDE
    • FUSE

      public static final PlantPose FUSE
    • DE_FUSED

      public static final PlantPose DE_FUSED
    • TRANSFORMING

      public static final PlantPose TRANSFORMING
    • TRANSFORMED

      public static final PlantPose TRANSFORMED
  • Method Details

    • values

      public static PlantPose[] 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 PlantPose 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
    • getId

      public String getId()
    • getAsString

      public static PlantPose getAsString(String poseId)
    • create

      public static PlantPose create(String name, String poseId)