Enum Class MapColor.Brightness

java.lang.Object
java.lang.Enum<MapColor.Brightness>
net.minecraft.block.MapColor.Brightness
All Implemented Interfaces:
Serializable, Comparable<MapColor.Brightness>, Constable
Enclosing class:
MapColor

public static enum MapColor.Brightness extends Enum<MapColor.Brightness>
Mappings:
Namespace Name
official dpc$a
intermediary net/minecraft/class_3620$class_6594
named net/minecraft/block/MapColor$Brightness
  • Enum Constant Details

    • LOW

      public static final MapColor.Brightness LOW
      Mappings:
      Namespace Name Mixin selector
      official a Ldpc$a;a:Ldpc$a;
      intermediary field_34759 Lnet/minecraft/class_3620$class_6594;field_34759:Lnet/minecraft/class_3620$class_6594;
      named LOW Lnet/minecraft/block/MapColor$Brightness;LOW:Lnet/minecraft/block/MapColor$Brightness;
    • NORMAL

      public static final MapColor.Brightness NORMAL
      Mappings:
      Namespace Name Mixin selector
      official b Ldpc$a;b:Ldpc$a;
      intermediary field_34760 Lnet/minecraft/class_3620$class_6594;field_34760:Lnet/minecraft/class_3620$class_6594;
      named NORMAL Lnet/minecraft/block/MapColor$Brightness;NORMAL:Lnet/minecraft/block/MapColor$Brightness;
    • HIGH

      public static final MapColor.Brightness HIGH
      Mappings:
      Namespace Name Mixin selector
      official c Ldpc$a;c:Ldpc$a;
      intermediary field_34761 Lnet/minecraft/class_3620$class_6594;field_34761:Lnet/minecraft/class_3620$class_6594;
      named HIGH Lnet/minecraft/block/MapColor$Brightness;HIGH:Lnet/minecraft/block/MapColor$Brightness;
    • LOWEST

      public static final MapColor.Brightness LOWEST
      Mappings:
      Namespace Name Mixin selector
      official d Ldpc$a;d:Ldpc$a;
      intermediary field_34762 Lnet/minecraft/class_3620$class_6594;field_34762:Lnet/minecraft/class_3620$class_6594;
      named LOWEST Lnet/minecraft/block/MapColor$Brightness;LOWEST:Lnet/minecraft/block/MapColor$Brightness;
  • Field Details

    • VALUES

      private static final MapColor.Brightness[] VALUES
      Mappings:
      Namespace Name Mixin selector
      official g Ldpc$a;g:[Ldpc$a;
      intermediary field_34765 Lnet/minecraft/class_3620$class_6594;field_34765:[Lnet/minecraft/class_3620$class_6594;
      named VALUES Lnet/minecraft/block/MapColor$Brightness;VALUES:[Lnet/minecraft/block/MapColor$Brightness;
    • id

      public final int id
      Mappings:
      Namespace Name Mixin selector
      official e Ldpc$a;e:I
      intermediary field_34763 Lnet/minecraft/class_3620$class_6594;field_34763:I
      named id Lnet/minecraft/block/MapColor$Brightness;id:I
    • brightness

      public final int brightness
      Mappings:
      Namespace Name Mixin selector
      official f Ldpc$a;f:I
      intermediary field_34764 Lnet/minecraft/class_3620$class_6594;field_34764:I
      named brightness Lnet/minecraft/block/MapColor$Brightness;brightness:I
  • Constructor Details

    • Brightness

      private Brightness(int id, int brightness)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldpc$a;<init>(Ljava/lang/String;III)V
      intermediary <init> Lnet/minecraft/class_3620$class_6594;<init>(Ljava/lang/String;III)V
      named <init> Lnet/minecraft/block/MapColor$Brightness;<init>(Ljava/lang/String;III)V
  • Method Details

    • values

      public static MapColor.Brightness[] 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 MapColor.Brightness 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
    • validateAndGet

      public static MapColor.Brightness validateAndGet(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpc$a;a(I)Ldpc$a;
      intermediary method_38484 Lnet/minecraft/class_3620$class_6594;method_38484(I)Lnet/minecraft/class_3620$class_6594;
      named validateAndGet Lnet/minecraft/block/MapColor$Brightness;validateAndGet(I)Lnet/minecraft/block/MapColor$Brightness;
    • get

      static MapColor.Brightness get(int id)
      Mappings:
      Namespace Name Mixin selector
      official b Ldpc$a;b(I)Ldpc$a;
      intermediary method_38485 Lnet/minecraft/class_3620$class_6594;method_38485(I)Lnet/minecraft/class_3620$class_6594;
      named get Lnet/minecraft/block/MapColor$Brightness;get(I)Lnet/minecraft/block/MapColor$Brightness;