Package net.minecraft.block
Enum Class MapColor.Brightness
- All Implemented Interfaces:
Serializable,Comparable<MapColor.Brightness>,Constable
- Enclosing class:
MapColor
- Mappings:
Namespace Name official dxf$aintermediary net/minecraft/class_3620$class_6594named net/minecraft/block/MapColor$Brightness
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MapColor.Brightnessget(int id) static MapColor.BrightnessvalidateAndGet(int id) static MapColor.BrightnessReturns the enum constant of this class with the specified name.static MapColor.Brightness[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOW
- Mappings:
Namespace Name Mixin selector official aLdxf$a;a:Ldxf$a;intermediary field_34759Lnet/minecraft/class_3620$class_6594;field_34759:Lnet/minecraft/class_3620$class_6594;named LOWLnet/minecraft/block/MapColor$Brightness;LOW:Lnet/minecraft/block/MapColor$Brightness;
-
NORMAL
- Mappings:
Namespace Name Mixin selector official bLdxf$a;b:Ldxf$a;intermediary field_34760Lnet/minecraft/class_3620$class_6594;field_34760:Lnet/minecraft/class_3620$class_6594;named NORMALLnet/minecraft/block/MapColor$Brightness;NORMAL:Lnet/minecraft/block/MapColor$Brightness;
-
HIGH
- Mappings:
Namespace Name Mixin selector official cLdxf$a;c:Ldxf$a;intermediary field_34761Lnet/minecraft/class_3620$class_6594;field_34761:Lnet/minecraft/class_3620$class_6594;named HIGHLnet/minecraft/block/MapColor$Brightness;HIGH:Lnet/minecraft/block/MapColor$Brightness;
-
LOWEST
- Mappings:
Namespace Name Mixin selector official dLdxf$a;d:Ldxf$a;intermediary field_34762Lnet/minecraft/class_3620$class_6594;field_34762:Lnet/minecraft/class_3620$class_6594;named LOWESTLnet/minecraft/block/MapColor$Brightness;LOWEST:Lnet/minecraft/block/MapColor$Brightness;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official gLdxf$a;g:[Ldxf$a;intermediary field_34765Lnet/minecraft/class_3620$class_6594;field_34765:[Lnet/minecraft/class_3620$class_6594;named VALUESLnet/minecraft/block/MapColor$Brightness;VALUES:[Lnet/minecraft/block/MapColor$Brightness;
-
id
public final int id- Mappings:
Namespace Name Mixin selector official eLdxf$a;e:Iintermediary field_34763Lnet/minecraft/class_3620$class_6594;field_34763:Inamed idLnet/minecraft/block/MapColor$Brightness;id:I
-
brightness
public final int brightness- Mappings:
Namespace Name Mixin selector official fLdxf$a;f:Iintermediary field_34764Lnet/minecraft/class_3620$class_6594;field_34764:Inamed brightnessLnet/minecraft/block/MapColor$Brightness;brightness:I
-
-
Constructor Details
-
Brightness
private Brightness(int id, int brightness) - Mappings:
Namespace Name Mixin selector official <init>Ldxf$a;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_3620$class_6594;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/block/MapColor$Brightness;<init>(Ljava/lang/String;III)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
validateAndGet
- Mappings:
Namespace Name Mixin selector official aLdxf$a;a(I)Ldxf$a;intermediary method_38484Lnet/minecraft/class_3620$class_6594;method_38484(I)Lnet/minecraft/class_3620$class_6594;named validateAndGetLnet/minecraft/block/MapColor$Brightness;validateAndGet(I)Lnet/minecraft/block/MapColor$Brightness;
-
get
- Mappings:
Namespace Name Mixin selector official bLdxf$a;b(I)Ldxf$a;intermediary method_38485Lnet/minecraft/class_3620$class_6594;method_38485(I)Lnet/minecraft/class_3620$class_6594;named getLnet/minecraft/block/MapColor$Brightness;get(I)Lnet/minecraft/block/MapColor$Brightness;
-