Enum Class MineshaftStructure.Type
- All Implemented Interfaces:
Serializable,Comparable<MineshaftStructure.Type>,Constable,StringIdentifiable
- Enclosing class:
MineshaftStructure
public static enum MineshaftStructure.Type
extends Enum<MineshaftStructure.Type>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/world/gen/structure/MineshaftStructure$Typeintermediary net/minecraft/class_3098$class_3100official fgl$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 TypeFieldDescriptionprivate static final IntFunction<MineshaftStructure.Type> static final com.mojang.serialization.Codec<MineshaftStructure.Type> private final BlockStateprivate final BlockStateprivate final Stringprivate final BlockStateFields 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.static MineshaftStructure.TypebyId(int id) getFence()getLog()getName()static MineshaftStructure.TypeReturns the enum constant of this class with the specified name.static MineshaftStructure.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMALLnet/minecraft/world/gen/structure/MineshaftStructure$Type;NORMAL:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;intermediary field_13692Lnet/minecraft/class_3098$class_3100;field_13692:Lnet/minecraft/class_3098$class_3100;official aLfgl$a;a:Lfgl$a;
-
MESA
- Mappings:
Namespace Name Mixin selector named MESALnet/minecraft/world/gen/structure/MineshaftStructure$Type;MESA:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;intermediary field_13691Lnet/minecraft/class_3098$class_3100;field_13691:Lnet/minecraft/class_3098$class_3100;official bLfgl$a;b:Lfgl$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/structure/MineshaftStructure$Type;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24839Lnet/minecraft/class_3098$class_3100;field_24839:Lcom/mojang/serialization/Codec;official cLfgl$a;c:Lcom/mojang/serialization/Codec;
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/world/gen/structure/MineshaftStructure$Type;BY_ID:Ljava/util/function/IntFunction;intermediary field_41680Lnet/minecraft/class_3098$class_3100;field_41680:Ljava/util/function/IntFunction;official dLfgl$a;d:Ljava/util/function/IntFunction;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/world/gen/structure/MineshaftStructure$Type;name:Ljava/lang/String;intermediary field_13689Lnet/minecraft/class_3098$class_3100;field_13689:Ljava/lang/String;official eLfgl$a;e:Ljava/lang/String;
-
log
- Mappings:
Namespace Name Mixin selector named logLnet/minecraft/world/gen/structure/MineshaftStructure$Type;log:Lnet/minecraft/block/BlockState;intermediary field_28850Lnet/minecraft/class_3098$class_3100;field_28850:Lnet/minecraft/class_2680;official fLfgl$a;f:Lemz;
-
planks
- Mappings:
Namespace Name Mixin selector named planksLnet/minecraft/world/gen/structure/MineshaftStructure$Type;planks:Lnet/minecraft/block/BlockState;intermediary field_28851Lnet/minecraft/class_3098$class_3100;field_28851:Lnet/minecraft/class_2680;official gLfgl$a;g:Lemz;
-
fence
- Mappings:
Namespace Name Mixin selector named fenceLnet/minecraft/world/gen/structure/MineshaftStructure$Type;fence:Lnet/minecraft/block/BlockState;intermediary field_28852Lnet/minecraft/class_3098$class_3100;field_28852:Lnet/minecraft/class_2680;official hLfgl$a;h:Lemz;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)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;)Vofficial <init>Lfgl$a;<init>(Ljava/lang/String;ILjava/lang/String;Ldyi;Ldyi;Ldyi;)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/structure/MineshaftStructure$Type;getName()Ljava/lang/String;intermediary method_13534Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;official aLfgl$a;a()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector named byIdLnet/minecraft/world/gen/structure/MineshaftStructure$Type;byId(I)Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;intermediary method_13535Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;official aLfgl$a;a(I)Lfgl$a;
-
getLog
- Mappings:
Namespace Name Mixin selector named getLogLnet/minecraft/world/gen/structure/MineshaftStructure$Type;getLog()Lnet/minecraft/block/BlockState;intermediary method_33760Lnet/minecraft/class_3098$class_3100;method_33760()Lnet/minecraft/class_2680;official bLfgl$a;b()Lemz;
-
getPlanks
- Mappings:
Namespace Name Mixin selector named getPlanksLnet/minecraft/world/gen/structure/MineshaftStructure$Type;getPlanks()Lnet/minecraft/block/BlockState;intermediary method_33761Lnet/minecraft/class_3098$class_3100;method_33761()Lnet/minecraft/class_2680;official dLfgl$a;d()Lemz;
-
getFence
- Mappings:
Namespace Name Mixin selector named getFenceLnet/minecraft/world/gen/structure/MineshaftStructure$Type;getFence()Lnet/minecraft/block/BlockState;intermediary method_33762Lnet/minecraft/class_3098$class_3100;method_33762()Lnet/minecraft/class_2680;official eLfgl$a;e()Lemz;
-
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 cLbhg;c()Ljava/lang/String;
-