Package net.minecraft.world.gen
Enum Class GenerationStep.Carver
- All Implemented Interfaces:
Serializable,Comparable<GenerationStep.Carver>,Constable,StringIdentifiable
- Enclosing class:
GenerationStep
public static enum GenerationStep.Carver
extends Enum<GenerationStep.Carver>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/world/gen/GenerationStep$Carverintermediary net/minecraft/class_2893$class_2894official dyu$a
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GenerationStep.Carver> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()static GenerationStep.CarverReturns the enum constant of this class with the specified name.static GenerationStep.Carver[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AIR
- Mappings:
Namespace Name Mixin selector named AIRLnet/minecraft/world/gen/GenerationStep$Carver;AIR:Lnet/minecraft/world/gen/GenerationStep$Carver;intermediary field_13169Lnet/minecraft/class_2893$class_2894;field_13169:Lnet/minecraft/class_2893$class_2894;official aLdyu$a;a:Ldyu$a;
-
LIQUID
- Mappings:
Namespace Name Mixin selector named LIQUIDLnet/minecraft/world/gen/GenerationStep$Carver;LIQUID:Lnet/minecraft/world/gen/GenerationStep$Carver;intermediary field_13166Lnet/minecraft/class_2893$class_2894;field_13166:Lnet/minecraft/class_2893$class_2894;official bLdyu$a;b:Ldyu$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/GenerationStep$Carver;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24770Lnet/minecraft/class_2893$class_2894;field_24770:Lcom/mojang/serialization/Codec;official cLdyu$a;c:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/world/gen/GenerationStep$Carver;name:Ljava/lang/String;intermediary field_13167Lnet/minecraft/class_2893$class_2894;field_13167:Ljava/lang/String;official dLdyu$a;d:Ljava/lang/String;
-
-
Constructor Details
-
Carver
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/GenerationStep$Carver;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2893$class_2894;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Ldyu$a;<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
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/world/gen/GenerationStep$Carver;getName()Ljava/lang/String;intermediary method_12581Lnet/minecraft/class_2893$class_2894;method_12581()Ljava/lang/String;official aLdyu$a;a()Ljava/lang/String;
-
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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-