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 official dtm$a
intermediary net/minecraft/class_3098$class_3100
named net/minecraft/world/gen/structure/MineshaftStructure$Type
-
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.Codec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final IntFunction<MineshaftStructure.Type>
static final StringIdentifiable.Codec<MineshaftStructure.Type>
private final BlockState
private final BlockState
private final String
private final BlockState
Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static MineshaftStructure.Type
byId
(int id) getFence()
getLog()
getName()
static MineshaftStructure.Type
Returns 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 official a
Ldtm$a;a:Ldtm$a;
intermediary field_13692
Lnet/minecraft/class_3098$class_3100;field_13692:Lnet/minecraft/class_3098$class_3100;
named NORMAL
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;NORMAL:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
-
MESA
- Mappings:
Namespace Name Mixin selector official b
Ldtm$a;b:Ldtm$a;
intermediary field_13691
Lnet/minecraft/class_3098$class_3100;field_13691:Lnet/minecraft/class_3098$class_3100;
named MESA
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;MESA:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Ldtm$a;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/structure/MineshaftStructure$Type;CODEC:Lcom/mojang/serialization/Codec;
-
BY_ID
- Mappings:
Namespace Name Mixin selector official d
Ldtm$a;d:Ljava/util/function/IntFunction;
intermediary field_41680
Lnet/minecraft/class_3098$class_3100;field_41680:Ljava/util/function/IntFunction;
named BY_ID
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;BY_ID:Ljava/util/function/IntFunction;
-
name
- Mappings:
Namespace Name Mixin selector official e
Ldtm$a;e:Ljava/lang/String;
intermediary field_13689
Lnet/minecraft/class_3098$class_3100;field_13689:Ljava/lang/String;
named name
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;name:Ljava/lang/String;
-
log
- Mappings:
Namespace Name Mixin selector official f
Ldtm$a;f:Ldbq;
intermediary field_28850
Lnet/minecraft/class_3098$class_3100;field_28850:Lnet/minecraft/class_2680;
named log
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;log:Lnet/minecraft/block/BlockState;
-
planks
- Mappings:
Namespace Name Mixin selector official g
Ldtm$a;g:Ldbq;
intermediary field_28851
Lnet/minecraft/class_3098$class_3100;field_28851:Lnet/minecraft/class_2680;
named planks
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;planks:Lnet/minecraft/block/BlockState;
-
fence
- Mappings:
Namespace Name Mixin selector official h
Ldtm$a;h:Ldbq;
intermediary field_28852
Lnet/minecraft/class_3098$class_3100;field_28852:Lnet/minecraft/class_2680;
named fence
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;fence:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Ldtm$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcpi;Lcpi;Lcpi;)V
intermediary <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;)V
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;)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 official a
Ldtm$a;a()Ljava/lang/String;
intermediary method_13534
Lnet/minecraft/class_3098$class_3100;method_13534()Ljava/lang/String;
named getName
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getName()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Ldtm$a;a(I)Ldtm$a;
intermediary method_13535
Lnet/minecraft/class_3098$class_3100;method_13535(I)Lnet/minecraft/class_3098$class_3100;
named byId
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;byId(I)Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
-
getLog
- Mappings:
Namespace Name Mixin selector official b
Ldtm$a;b()Ldbq;
intermediary method_33760
Lnet/minecraft/class_3098$class_3100;method_33760()Lnet/minecraft/class_2680;
named getLog
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getLog()Lnet/minecraft/block/BlockState;
-
getPlanks
- Mappings:
Namespace Name Mixin selector official d
Ldtm$a;d()Ldbq;
intermediary method_33761
Lnet/minecraft/class_3098$class_3100;method_33761()Lnet/minecraft/class_2680;
named getPlanks
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getPlanks()Lnet/minecraft/block/BlockState;
-
getFence
- Mappings:
Namespace Name Mixin selector official e
Ldtm$a;e()Ldbq;
intermediary method_33762
Lnet/minecraft/class_3098$class_3100;method_33762()Lnet/minecraft/class_2680;
named getFence
Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;getFence()Lnet/minecraft/block/BlockState;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Laqa;c()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;
-