Package net.minecraft.client.render
Enum Class ChunkBuilderMode
- All Implemented Interfaces:
Serializable,Comparable<ChunkBuilderMode>,Constable,TranslatableOption
@Environment(CLIENT)
public enum ChunkBuilderMode
extends Enum<ChunkBuilderMode>
implements TranslatableOption
- Mappings:
Namespace Name named net/minecraft/client/render/ChunkBuilderModeintermediary net/minecraft/class_6597official flq
-
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
FieldsModifier and TypeFieldDescriptionprivate static final IntFunction<ChunkBuilderMode> private final intprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkBuilderModeget(int id) intgetId()static ChunkBuilderModeReturns the enum constant of this class with the specified name.static ChunkBuilderMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/client/render/ChunkBuilderMode;NONE:Lnet/minecraft/client/render/ChunkBuilderMode;intermediary field_34788Lnet/minecraft/class_6597;field_34788:Lnet/minecraft/class_6597;official aLflq;a:Lflq;
-
PLAYER_AFFECTED
- Mappings:
Namespace Name Mixin selector named PLAYER_AFFECTEDLnet/minecraft/client/render/ChunkBuilderMode;PLAYER_AFFECTED:Lnet/minecraft/client/render/ChunkBuilderMode;intermediary field_34789Lnet/minecraft/class_6597;field_34789:Lnet/minecraft/class_6597;official bLflq;b:Lflq;
-
NEARBY
- Mappings:
Namespace Name Mixin selector named NEARBYLnet/minecraft/client/render/ChunkBuilderMode;NEARBY:Lnet/minecraft/client/render/ChunkBuilderMode;intermediary field_34790Lnet/minecraft/class_6597;field_34790:Lnet/minecraft/class_6597;official cLflq;c:Lflq;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/client/render/ChunkBuilderMode;BY_ID:Ljava/util/function/IntFunction;intermediary field_34791Lnet/minecraft/class_6597;field_34791:Ljava/util/function/IntFunction;official dLflq;d:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/render/ChunkBuilderMode;id:Iintermediary field_34792Lnet/minecraft/class_6597;field_34792:Iofficial eLflq;e:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/ChunkBuilderMode;name:Ljava/lang/String;intermediary field_34793Lnet/minecraft/class_6597;field_34793:Ljava/lang/String;official fLflq;f:Ljava/lang/String;
-
-
Constructor Details
-
ChunkBuilderMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/ChunkBuilderMode;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_6597;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lflq;<init>(Ljava/lang/String;IILjava/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
-
getId
public int getId()- Specified by:
getIdin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/util/TranslatableOption;getId()Iintermediary method_7362Lnet/minecraft/class_7291;method_7362()Iofficial bLazc;b()I
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getTranslationKeyLnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;intermediary method_7359Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;official aLazc;a()Ljava/lang/String;
-
get
- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/render/ChunkBuilderMode;get(I)Lnet/minecraft/client/render/ChunkBuilderMode;intermediary method_38523Lnet/minecraft/class_6597;method_38523(I)Lnet/minecraft/class_6597;official aLflq;a(I)Lflq;
-