Package net.minecraft.block
Enum Class MapColor.Brightness
- All Implemented Interfaces:
Serializable
,Comparable<MapColor.Brightness>
,Constable
- Enclosing class:
MapColor
- Mappings:
Namespace Name official dxi$a
intermediary net/minecraft/class_3620$class_6594
named 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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static MapColor.Brightness
get
(int id) static MapColor.Brightness
validateAndGet
(int id) static MapColor.Brightness
Returns 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 a
Ldxi$a;a:Ldxi$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
- Mappings:
Namespace Name Mixin selector official b
Ldxi$a;b:Ldxi$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
- Mappings:
Namespace Name Mixin selector official c
Ldxi$a;c:Ldxi$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
- Mappings:
Namespace Name Mixin selector official d
Ldxi$a;d:Ldxi$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
- Mappings:
Namespace Name Mixin selector official g
Ldxi$a;g:[Ldxi$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
Ldxi$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
Ldxi$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>
Ldxi$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
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 a
Ldxi$a;a(I)Ldxi$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
- Mappings:
Namespace Name Mixin selector official b
Ldxi$a;b(I)Ldxi$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;
-