Package net.minecraft.world.gen
Enum GenerationStep.Carver
- All Implemented Interfaces:
Serializable,Comparable<GenerationStep.Carver>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- GenerationStep
public static enum GenerationStep.Carver extends Enum<GenerationStep.Carver> implements StringIdentifiable
- Mappings:
Namespace Name official cni$aintermediary net/minecraft/class_2893$class_2894named net/minecraft/world/gen/GenerationStep$Carver
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,GenerationStep.Carver>BY_NAMEstatic com.mojang.serialization.Codec<GenerationStep.Carver>CODECprivate Stringname -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()static @Nullable GenerationStep.CarverbyName(String name)StringgetName()static GenerationStep.CarvervalueOf(String name)Returns the enum constant of this type with the specified name.static GenerationStep.Carver[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AIR
- Mappings:
Namespace Name Mixin selector official aLcni$a;a:Lcni$a;intermediary field_13169Lnet/minecraft/class_2893$class_2894;field_13169:Lnet/minecraft/class_2893$class_2894;named AIRLnet/minecraft/world/gen/GenerationStep$Carver;AIR:Lnet/minecraft/world/gen/GenerationStep$Carver;
-
LIQUID
- Mappings:
Namespace Name Mixin selector official bLcni$a;b:Lcni$a;intermediary field_13166Lnet/minecraft/class_2893$class_2894;field_13166:Lnet/minecraft/class_2893$class_2894;named LIQUIDLnet/minecraft/world/gen/GenerationStep$Carver;LIQUID:Lnet/minecraft/world/gen/GenerationStep$Carver;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLcni$a;c:Lcom/mojang/serialization/Codec;intermediary field_24770Lnet/minecraft/class_2893$class_2894;field_24770:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/GenerationStep$Carver;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official dLcni$a;d:Ljava/util/Map;intermediary field_13168Lnet/minecraft/class_2893$class_2894;field_13168:Ljava/util/Map;named BY_NAMELnet/minecraft/world/gen/GenerationStep$Carver;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLcni$a;e:Ljava/lang/String;intermediary field_13167Lnet/minecraft/class_2893$class_2894;field_13167:Ljava/lang/String;named nameLnet/minecraft/world/gen/GenerationStep$Carver;name:Ljava/lang/String;
-
-
Constructor Details
-
Carver
- Mappings:
Namespace Name Mixin selector official <init>Lcni$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2893$class_2894;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/world/gen/GenerationStep$Carver;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official bLcni$a;b()Ljava/lang/String;intermediary method_12581Lnet/minecraft/class_2893$class_2894;method_12581()Ljava/lang/String;named getNameLnet/minecraft/world/gen/GenerationStep$Carver;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLcni$a;a(Ljava/lang/String;)Lcni$a;intermediary method_28546Lnet/minecraft/class_2893$class_2894;method_28546(Ljava/lang/String;)Lnet/minecraft/class_2893$class_2894;named byNameLnet/minecraft/world/gen/GenerationStep$Carver;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/GenerationStep$Carver;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official aLaha;a()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-