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 csi$bintermediary net/minecraft/class_3098$class_3100named 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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<String,MineshaftFeature.Type>static com.mojang.serialization.Codec<MineshaftFeature.Type>private BlockStateprivate BlockStateprivate Stringprivate BlockState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()static MineshaftFeature.TypebyIndex(int index)private static MineshaftFeature.TypegetFence()getLog()getName()static MineshaftFeature.TypeReturns 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 aLcsi$b;a:Lcsi$b;intermediary field_13692Lnet/minecraft/class_3098$class_3100;field_13692:Lnet/minecraft/class_3098$class_3100;named NORMALLnet/minecraft/world/gen/feature/MineshaftFeature$Type;NORMAL:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
MESA
- Mappings:
Namespace Name Mixin selector official bLcsi$b;b:Lcsi$b;intermediary field_13691Lnet/minecraft/class_3098$class_3100;field_13691:Lnet/minecraft/class_3098$class_3100;named MESALnet/minecraft/world/gen/feature/MineshaftFeature$Type;MESA:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLcsi$b;c:Lcom/mojang/serialization/Codec;intermediary field_24839Lnet/minecraft/class_3098$class_3100;field_24839:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/feature/MineshaftFeature$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_NAME
- Mappings:
Namespace Name Mixin selector official dLcsi$b;d:Ljava/util/Map;intermediary field_13690Lnet/minecraft/class_3098$class_3100;field_13690:Ljava/util/Map;named BY_NAMELnet/minecraft/world/gen/feature/MineshaftFeature$Type;BY_NAME:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLcsi$b;e:Ljava/lang/String;intermediary field_13689Lnet/minecraft/class_3098$class_3100;field_13689:Ljava/lang/String;named nameLnet/minecraft/world/gen/feature/MineshaftFeature$Type;name:Ljava/lang/String;
-
log
- Mappings:
Namespace Name Mixin selector official fLcsi$b;f:Lcjz;intermediary field_28850Lnet/minecraft/class_3098$class_3100;field_28850:Lnet/minecraft/class_2680;named logLnet/minecraft/world/gen/feature/MineshaftFeature$Type;log:Lnet/minecraft/block/BlockState;
-
planks
- Mappings:
Namespace Name Mixin selector official gLcsi$b;g:Lcjz;intermediary field_28851Lnet/minecraft/class_3098$class_3100;field_28851:Lnet/minecraft/class_2680;named planksLnet/minecraft/world/gen/feature/MineshaftFeature$Type;planks:Lnet/minecraft/block/BlockState;
-
fence
- Mappings:
Namespace Name Mixin selector official hLcsi$b;h:Lcjz;intermediary field_28852Lnet/minecraft/class_3098$class_3100;field_28852:Lnet/minecraft/class_2680;named fenceLnet/minecraft/world/gen/feature/MineshaftFeature$Type;fence:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lcsi$b;<init>(Ljava/lang/String;ILjava/lang/String;Lbyw;Lbyw;Lbyw;)Vintermediary <init>Lnet/minecraft/class_3098$class_3100;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)Vnamed <init>Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)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 aLcsi$b;a()Ljava/lang/String;intermediary method_13534Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;named getNameLnet/minecraft/world/gen/feature/MineshaftFeature$Type;getName()Ljava/lang/String;
-
byName
- Mappings:
Namespace Name Mixin selector official aLcsi$b;a(Ljava/lang/String;)Lcsi$b;intermediary method_13532Lnet/minecraft/class_3098$class_3100;method_13532(Ljava/lang/String;)Lnet/minecraft/class_3098$class_3100;named byNameLnet/minecraft/world/gen/feature/MineshaftFeature$Type;byName(Ljava/lang/String;)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
byIndex
- Mappings:
Namespace Name Mixin selector official aLcsi$b;a(I)Lcsi$b;intermediary method_13535Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;named byIndexLnet/minecraft/world/gen/feature/MineshaftFeature$Type;byIndex(I)Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
getLog
- Mappings:
Namespace Name Mixin selector official bLcsi$b;b()Lcjz;intermediary method_33760Lnet/minecraft/class_3098$class_3100;method_33760()Lnet/minecraft/class_2680;named getLogLnet/minecraft/world/gen/feature/MineshaftFeature$Type;getLog()Lnet/minecraft/block/BlockState;
-
getPlanks
- Mappings:
Namespace Name Mixin selector official dLcsi$b;d()Lcjz;intermediary method_33761Lnet/minecraft/class_3098$class_3100;method_33761()Lnet/minecraft/class_2680;named getPlanksLnet/minecraft/world/gen/feature/MineshaftFeature$Type;getPlanks()Lnet/minecraft/block/BlockState;
-
getFence
- Mappings:
Namespace Name Mixin selector official eLcsi$b;e()Lcjz;intermediary method_33762Lnet/minecraft/class_3098$class_3100;method_33762()Lnet/minecraft/class_2680;named getFenceLnet/minecraft/world/gen/feature/MineshaftFeature$Type;getFence()Lnet/minecraft/block/BlockState;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official cLagz;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-