Package net.minecraft.block.enums
Enum Class VaultState.Light
- All Implemented Interfaces:
Serializable
,Comparable<VaultState.Light>
,Constable
- Enclosing class:
VaultState
- Mappings:
Namespace Name named net/minecraft/block/enums/VaultState$Light
intermediary net/minecraft/class_9206$class_9207
official dsn$a
-
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 TypeMethodDescriptionstatic VaultState.Light
Returns the enum constant of this class with the specified name.static VaultState.Light[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HALF_LIT
- Mappings:
Namespace Name Mixin selector named HALF_LIT
Lnet/minecraft/block/enums/VaultState$Light;HALF_LIT:Lnet/minecraft/block/enums/VaultState$Light;
intermediary field_48911
Lnet/minecraft/class_9206$class_9207;field_48911:Lnet/minecraft/class_9206$class_9207;
official a
Ldsn$a;a:Ldsn$a;
-
LIT
- Mappings:
Namespace Name Mixin selector named LIT
Lnet/minecraft/block/enums/VaultState$Light;LIT:Lnet/minecraft/block/enums/VaultState$Light;
intermediary field_48912
Lnet/minecraft/class_9206$class_9207;field_48912:Lnet/minecraft/class_9206$class_9207;
official b
Ldsn$a;b:Ldsn$a;
-
-
Field Details
-
luminance
final int luminance- Mappings:
Namespace Name Mixin selector named luminance
Lnet/minecraft/block/enums/VaultState$Light;luminance:I
intermediary field_48913
Lnet/minecraft/class_9206$class_9207;field_48913:I
official c
Ldsn$a;c:I
-
-
Constructor Details
-
Light
private Light(int luminance) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/enums/VaultState$Light;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_9206$class_9207;<init>(Ljava/lang/String;II)V
official <init>
Ldsn$a;<init>(Ljava/lang/String;II)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
-