Package net.minecraft.block
Enum Class MapColor.Brightness
- All Implemented Interfaces:
Serializable,Comparable<MapColor.Brightness>,Constable
- Enclosing class:
MapColor
- Mappings:
Namespace Name intermediary net/minecraft/class_3620$class_6594official dxf$anamed 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 intermediary field_34759Lnet/minecraft/class_3620$class_6594;field_34759:Lnet/minecraft/class_3620$class_6594;official aLdxf$a;a:Ldxf$a;named LOWLnet/minecraft/block/MapColor$Brightness;LOW:Lnet/minecraft/block/MapColor$Brightness;
-
NORMAL
- Mappings:
Namespace Name Mixin selector intermediary field_34760Lnet/minecraft/class_3620$class_6594;field_34760:Lnet/minecraft/class_3620$class_6594;official bLdxf$a;b:Ldxf$a;named NORMALLnet/minecraft/block/MapColor$Brightness;NORMAL:Lnet/minecraft/block/MapColor$Brightness;
-
HIGH
- Mappings:
Namespace Name Mixin selector intermediary field_34761Lnet/minecraft/class_3620$class_6594;field_34761:Lnet/minecraft/class_3620$class_6594;official cLdxf$a;c:Ldxf$a;named HIGHLnet/minecraft/block/MapColor$Brightness;HIGH:Lnet/minecraft/block/MapColor$Brightness;
-
LOWEST
- Mappings:
Namespace Name Mixin selector intermediary field_34762Lnet/minecraft/class_3620$class_6594;field_34762:Lnet/minecraft/class_3620$class_6594;official dLdxf$a;d:Ldxf$a;named LOWESTLnet/minecraft/block/MapColor$Brightness;LOWEST:Lnet/minecraft/block/MapColor$Brightness;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector intermediary field_34765Lnet/minecraft/class_3620$class_6594;field_34765:[Lnet/minecraft/class_3620$class_6594;official gLdxf$a;g:[Ldxf$a;named VALUESLnet/minecraft/block/MapColor$Brightness;VALUES:[Lnet/minecraft/block/MapColor$Brightness;
-
id
public final int id- Mappings:
Namespace Name Mixin selector intermediary field_34763Lnet/minecraft/class_3620$class_6594;field_34763:Iofficial eLdxf$a;e:Inamed idLnet/minecraft/block/MapColor$Brightness;id:I
-
brightness
public final int brightness- Mappings:
Namespace Name Mixin selector intermediary field_34764Lnet/minecraft/class_3620$class_6594;field_34764:Iofficial fLdxf$a;f:Inamed brightnessLnet/minecraft/block/MapColor$Brightness;brightness:I
-
-
Constructor Details
-
Brightness
private Brightness(int id, int brightness) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_3620$class_6594;<init>(Ljava/lang/String;III)Vofficial <init>Ldxf$a;<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 intermediary method_38484Lnet/minecraft/class_3620$class_6594;method_38484(I)Lnet/minecraft/class_3620$class_6594;official aLdxf$a;a(I)Ldxf$a;named validateAndGetLnet/minecraft/block/MapColor$Brightness;validateAndGet(I)Lnet/minecraft/block/MapColor$Brightness;
-
get
- Mappings:
Namespace Name Mixin selector intermediary method_38485Lnet/minecraft/class_3620$class_6594;method_38485(I)Lnet/minecraft/class_3620$class_6594;official bLdxf$a;b(I)Ldxf$a;named getLnet/minecraft/block/MapColor$Brightness;get(I)Lnet/minecraft/block/MapColor$Brightness;
-