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 cmi$a
intermediary net/minecraft/class_2893$class_2894
named 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_NAME
static com.mojang.serialization.Codec<GenerationStep.Carver>
CODEC
private String
name
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
asString()
static GenerationStep.Carver
byName(String name)
String
getName()
static GenerationStep.Carver
valueOf(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 a
Lcmi$a;a:Lcmi$a;
intermediary field_13169
Lnet/minecraft/class_2893$class_2894;field_13169:Lnet/minecraft/class_2893$class_2894;
named AIR
Lnet/minecraft/world/gen/GenerationStep$Carver;AIR:Lnet/minecraft/world/gen/GenerationStep$Carver;
-
LIQUID
- Mappings:
Namespace Name Mixin selector official b
Lcmi$a;b:Lcmi$a;
intermediary field_13166
Lnet/minecraft/class_2893$class_2894;field_13166:Lnet/minecraft/class_2893$class_2894;
named LIQUID
Lnet/minecraft/world/gen/GenerationStep$Carver;LIQUID:Lnet/minecraft/world/gen/GenerationStep$Carver;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lcmi$a;c:Lcom/mojang/serialization/Codec;
intermediary field_24770
Lnet/minecraft/class_2893$class_2894;field_24770:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/GenerationStep$Carver;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official d
Lcmi$a;d:Ljava/util/Map;
intermediary field_13168
Lnet/minecraft/class_2893$class_2894;field_13168:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/world/gen/GenerationStep$Carver;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official e
Lcmi$a;e:Ljava/lang/String;
intermediary field_13167
Lnet/minecraft/class_2893$class_2894;field_13167:Ljava/lang/String;
named name
Lnet/minecraft/world/gen/GenerationStep$Carver;name:Ljava/lang/String;
-
-
Constructor Details
-
Carver
- Mappings:
Namespace Name Mixin selector official <init>
Lcmi$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2893$class_2894;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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 b
Lcmi$a;b()Ljava/lang/String;
intermediary method_12581
Lnet/minecraft/class_2893$class_2894;method_12581()Ljava/lang/String;
named getName
Lnet/minecraft/world/gen/GenerationStep$Carver;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lcmi$a;a(Ljava/lang/String;)Lcmi$a;
intermediary method_28546
Lnet/minecraft/class_2893$class_2894;method_28546(Ljava/lang/String;)Lnet/minecraft/class_2893$class_2894;
named byName
Lnet/minecraft/world/gen/GenerationStep$Carver;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/GenerationStep$Carver;
-
asString
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official a
Lagi;a()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-