Enum Class PlatformBillboard

java.lang.Object
java.lang.Enum<PlatformBillboard>
kr.toxicity.model.api.platform.PlatformBillboard
All Implemented Interfaces:
Serializable, Comparable<PlatformBillboard>, Constable

public enum PlatformBillboard extends Enum<PlatformBillboard>
Defines the billboard constraints for a display entity.

Billboard settings control how the display rotates to face the player.

Since:
2.0.0
  • Enum Constant Details

    • FIXED

      public static final PlatformBillboard FIXED
      No rotation (default).
    • VERTICAL

      public static final PlatformBillboard VERTICAL
      Can pivot around vertical axis.
    • HORIZONTAL

      public static final PlatformBillboard HORIZONTAL
      Can pivot around horizontal axis.
    • CENTER

      public static final PlatformBillboard CENTER
      Can pivot around center point.
  • Method Details

    • values

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