Package net.minecraft.world
Enum Class LightType
- All Implemented Interfaces:
Serializable,Comparable<LightType>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_56glue class_97server coclient ebnamed net/minecraft/world/LightType
-
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
-
Enum Constant Details
-
SKY
- Mappings:
Namespace Name Mixin selector intermediary field_2757Lnet/minecraft/class_56;field_2757:Lnet/minecraft/class_56;glue field_231Lclass_97;field_231:Lclass_97;server aLco;a:Lco;client aLeb;a:Leb;named SKYLnet/minecraft/world/LightType;SKY:Lnet/minecraft/world/LightType;
-
BLOCK
- Mappings:
Namespace Name Mixin selector intermediary field_2758Lnet/minecraft/class_56;field_2758:Lnet/minecraft/class_56;glue field_232Lclass_97;field_232:Lclass_97;server bLco;b:Lco;client bLeb;b:Leb;named BLOCKLnet/minecraft/world/LightType;BLOCK:Lnet/minecraft/world/LightType;
-
-
Field Details
-
defaultValue
public final int defaultValue- Mappings:
Namespace Name Mixin selector intermediary field_2759Lnet/minecraft/class_56;field_2759:Iglue field_233Lclass_97;field_233:Iserver cLco;c:Iclient cLeb;c:Inamed defaultValueLnet/minecraft/world/LightType;defaultValue:I
-
-
Constructor Details
-
LightType
private LightType(int defaultValue) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_56;<init>(Ljava/lang/String;II)Vglue <init>Lclass_97;<init>(Ljava/lang/String;II)Vserver <init>Lco;<init>(Ljava/lang/String;II)Vclient <init>Leb;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/world/LightType;<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
-