Package net.minecraft.vote
Enum Class LightEngineOptimizationType
- All Implemented Interfaces:
Serializable,Comparable<LightEngineOptimizationType>,Constable,StringIdentifiable
public enum LightEngineOptimizationType
extends Enum<LightEngineOptimizationType>
implements StringIdentifiable
- Mappings:
Namespace Name official bfmintermediary net/minecraft/class_8338named net/minecraft/vote/LightEngineOptimizationType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<LightEngineOptimizationType>private final Stringprivate final Textprivate static final ThreadLocal<Random>Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()booleanshouldDisableLight(World world) booleanshouldForceLight(World world) static LightEngineOptimizationTypeReturns the enum constant of this class with the specified name.static LightEngineOptimizationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLbfm;a:Lbfm;intermediary field_43894Lnet/minecraft/class_8338;field_43894:Lnet/minecraft/class_8338;named NONELnet/minecraft/vote/LightEngineOptimizationType;NONE:Lnet/minecraft/vote/LightEngineOptimizationType;
-
LOADSHEDDING
- Mappings:
Namespace Name Mixin selector official bLbfm;b:Lbfm;intermediary field_43895Lnet/minecraft/class_8338;field_43895:Lnet/minecraft/class_8338;named LOADSHEDDINGLnet/minecraft/vote/LightEngineOptimizationType;LOADSHEDDING:Lnet/minecraft/vote/LightEngineOptimizationType;
-
NEVER_LIGHT
- Mappings:
Namespace Name Mixin selector official cLbfm;c:Lbfm;intermediary field_43896Lnet/minecraft/class_8338;field_43896:Lnet/minecraft/class_8338;named NEVER_LIGHTLnet/minecraft/vote/LightEngineOptimizationType;NEVER_LIGHT:Lnet/minecraft/vote/LightEngineOptimizationType;
-
ALWAYS_LIGHT
- Mappings:
Namespace Name Mixin selector official dLbfm;d:Lbfm;intermediary field_43897Lnet/minecraft/class_8338;field_43897:Lnet/minecraft/class_8338;named ALWAYS_LIGHTLnet/minecraft/vote/LightEngineOptimizationType;ALWAYS_LIGHT:Lnet/minecraft/vote/LightEngineOptimizationType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLbfm;e:Lcom/mojang/serialization/Codec;intermediary field_43898Lnet/minecraft/class_8338;field_43898:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/vote/LightEngineOptimizationType;CODEC:Lcom/mojang/serialization/Codec;
-
RANDOM
- Mappings:
Namespace Name Mixin selector official fLbfm;f:Ljava/lang/ThreadLocal;intermediary field_43899Lnet/minecraft/class_8338;field_43899:Ljava/lang/ThreadLocal;named RANDOMLnet/minecraft/vote/LightEngineOptimizationType;RANDOM:Ljava/lang/ThreadLocal;
-
id
- Mappings:
Namespace Name Mixin selector official gLbfm;g:Ljava/lang/String;intermediary field_43900Lnet/minecraft/class_8338;field_43900:Ljava/lang/String;named idLnet/minecraft/vote/LightEngineOptimizationType;id:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official hLbfm;h:Lsw;intermediary field_43901Lnet/minecraft/class_8338;field_43901:Lnet/minecraft/class_2561;named nameLnet/minecraft/vote/LightEngineOptimizationType;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
LightEngineOptimizationType
- Mappings:
Namespace Name Mixin selector official <init>Lbfm;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8338;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/vote/LightEngineOptimizationType;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
shouldDisableLight
- Mappings:
Namespace Name Mixin selector official aLbfm;a(Lcql;)Zintermediary method_50391Lnet/minecraft/class_8338;method_50391(Lnet/minecraft/class_1937;)Znamed shouldDisableLightLnet/minecraft/vote/LightEngineOptimizationType;shouldDisableLight(Lnet/minecraft/world/World;)Z
-
shouldForceLight
- Mappings:
Namespace Name Mixin selector official bLbfm;b(Lcql;)Zintermediary method_50393Lnet/minecraft/class_8338;method_50393(Lnet/minecraft/class_1937;)Znamed shouldForceLightLnet/minecraft/vote/LightEngineOptimizationType;shouldForceLight(Lnet/minecraft/world/World;)Z
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLapw;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official aLbfm;a()Lsw;intermediary method_50390Lnet/minecraft/class_8338;method_50390()Lnet/minecraft/class_2561;named getNameLnet/minecraft/vote/LightEngineOptimizationType;getName()Lnet/minecraft/text/Text;
-