Package net.minecraft.world.gen.feature
Enum MineshaftFeature.Type
- All Implemented Interfaces:
Serializable
,Comparable<MineshaftFeature.Type>
,java.lang.constant.Constable
,StringIdentifiable
- Enclosing class:
- MineshaftFeature
public static enum MineshaftFeature.Type extends Enum<MineshaftFeature.Type> implements StringIdentifiable
- Mappings:
Namespace Name official cpk$b
intermediary net/minecraft/class_3098$class_3100
named net/minecraft/world/gen/feature/MineshaftFeature$Type
-
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,MineshaftFeature.Type>
BY_NAME
static com.mojang.serialization.Codec<MineshaftFeature.Type>
CODEC
private String
name
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
asString()
static MineshaftFeature.Type
byIndex(int index)
private static MineshaftFeature.Type
byName(String name)
String
getName()
static MineshaftFeature.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static MineshaftFeature.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official a
Lcpk$b;a:Lcpk$b;
intermediary field_13692
Lnet/minecraft/class_3098$class_3100;field_13692:Lnet/minecraft/class_3098$class_3100;
named NORMAL
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;NORMAL:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
MESA
- Mappings:
Namespace Name Mixin selector official b
Lcpk$b;b:Lcpk$b;
intermediary field_13691
Lnet/minecraft/class_3098$class_3100;field_13691:Lnet/minecraft/class_3098$class_3100;
named MESA
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;MESA:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lcpk$b;c:Lcom/mojang/serialization/Codec;
intermediary field_24839
Lnet/minecraft/class_3098$class_3100;field_24839:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official d
Lcpk$b;d:Ljava/util/Map;
intermediary field_13690
Lnet/minecraft/class_3098$class_3100;field_13690:Ljava/util/Map;
named BY_NAME
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official e
Lcpk$b;e:Ljava/lang/String;
intermediary field_13689
Lnet/minecraft/class_3098$class_3100;field_13689:Ljava/lang/String;
named name
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;name:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lcpk$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3098$class_3100;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;<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
Lcpk$b;b()Ljava/lang/String;
intermediary method_13534
Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;
named getName
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lcpk$b;a(Ljava/lang/String;)Lcpk$b;
intermediary method_13532
Lnet/minecraft/class_3098$class_3100;method_13532(Ljava/lang/String;)Lnet/minecraft/class_3098$class_3100;
named byName
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
byIndex
- Mappings:
Namespace Name Mixin selector official a
Lcpk$b;a(I)Lcpk$b;
intermediary method_13535
Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;
named byIndex
Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;byIndex(I)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
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;
-