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 official erc
intermediary net/minecraft/class_6597
named net/minecraft/client/render/ChunkBuilderMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final IntFunction<ChunkBuilderMode>
private final int
private final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkBuilderMode
get
(int id) int
getId()
static ChunkBuilderMode
Returns 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, valueOf
Methods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official a
Lerc;a:Lerc;
intermediary field_34788
Lnet/minecraft/class_6597;field_34788:Lnet/minecraft/class_6597;
named NONE
Lnet/minecraft/client/render/ChunkBuilderMode;NONE:Lnet/minecraft/client/render/ChunkBuilderMode;
-
PLAYER_AFFECTED
- Mappings:
Namespace Name Mixin selector official b
Lerc;b:Lerc;
intermediary field_34789
Lnet/minecraft/class_6597;field_34789:Lnet/minecraft/class_6597;
named PLAYER_AFFECTED
Lnet/minecraft/client/render/ChunkBuilderMode;PLAYER_AFFECTED:Lnet/minecraft/client/render/ChunkBuilderMode;
-
NEARBY
- Mappings:
Namespace Name Mixin selector official c
Lerc;c:Lerc;
intermediary field_34790
Lnet/minecraft/class_6597;field_34790:Lnet/minecraft/class_6597;
named NEARBY
Lnet/minecraft/client/render/ChunkBuilderMode;NEARBY:Lnet/minecraft/client/render/ChunkBuilderMode;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector official d
Lerc;d:Ljava/util/function/IntFunction;
intermediary field_34791
Lnet/minecraft/class_6597;field_34791:Ljava/util/function/IntFunction;
named BY_ID
Lnet/minecraft/client/render/ChunkBuilderMode;BY_ID:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Lerc;e:I
intermediary field_34792
Lnet/minecraft/class_6597;field_34792:I
named id
Lnet/minecraft/client/render/ChunkBuilderMode;id:I
-
name
- Mappings:
Namespace Name Mixin selector official f
Lerc;f:Ljava/lang/String;
intermediary field_34793
Lnet/minecraft/class_6597;field_34793:Ljava/lang/String;
named name
Lnet/minecraft/client/render/ChunkBuilderMode;name:Ljava/lang/String;
-
-
Constructor Details
-
ChunkBuilderMode
- Mappings:
Namespace Name Mixin selector official <init>
Lerc;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_6597;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <init>
Lnet/minecraft/client/render/ChunkBuilderMode;<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:
getId
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official a
Lary;a()I
intermediary method_7362
Lnet/minecraft/class_7291;method_7362()I
named getId
Lnet/minecraft/util/TranslatableOption;getId()I
-
getTranslationKey
- Specified by:
getTranslationKey
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official b
Lary;b()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
-
get
- Mappings:
Namespace Name Mixin selector official a
Lerc;a(I)Lerc;
intermediary method_38523
Lnet/minecraft/class_6597;method_38523(I)Lnet/minecraft/class_6597;
named get
Lnet/minecraft/client/render/ChunkBuilderMode;get(I)Lnet/minecraft/client/render/ChunkBuilderMode;
-