Enum Class MapDecoration.Type

All Implemented Interfaces:
Serializable, Comparable<MapDecoration.Type>, Constable
Enclosing class:

public static enum MapDecoration.Type extends Enum<MapDecoration.Type>
  • Enum Constant Details

  • Field Details

    • icon

      private final byte icon
    • renderedOnFrame

      private final boolean renderedOnFrame
    • mapColor

      private final int mapColor
  • Constructor Details

    • Type

      private Type(boolean p_i47343_3_)
    • Type

      private Type(boolean p_i47344_3_, int p_i47344_4_)
  • Method Details

    • values

      public static MapDecoration.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MapDecoration.Type 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIcon

      public byte getIcon()
    • isRenderedOnFrame

      public boolean isRenderedOnFrame()
    • hasMapColor

      public boolean hasMapColor()
    • getMapColor

      public int getMapColor()
    • byIcon

      public static MapDecoration.Type byIcon(byte p_191159_0_)