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