Package net.minecraft.structure
Enum Class RuinedPortalStructurePiece.VerticalPlacement
java.lang.Object
java.lang.Enum<RuinedPortalStructurePiece.VerticalPlacement>
net.minecraft.structure.RuinedPortalStructurePiece.VerticalPlacement
- All Implemented Interfaces:
Serializable,Comparable<RuinedPortalStructurePiece.VerticalPlacement>,Constable,StringIdentifiable
- Enclosing class:
RuinedPortalStructurePiece
public static enum RuinedPortalStructurePiece.VerticalPlacement
extends Enum<RuinedPortalStructurePiece.VerticalPlacement>
implements StringIdentifiable
- Mappings:
Namespace Name intermediary net/minecraft/class_5189$class_5191official dud$bnamed net/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement
-
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
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getId()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_LAND_SURFACE
- Mappings:
Namespace Name Mixin selector intermediary field_24029Lnet/minecraft/class_5189$class_5191;field_24029:Lnet/minecraft/class_5189$class_5191;official aLdud$b;a:Ldud$b;named ON_LAND_SURFACELnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_LAND_SURFACE:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
PARTLY_BURIED
- Mappings:
Namespace Name Mixin selector intermediary field_24030Lnet/minecraft/class_5189$class_5191;field_24030:Lnet/minecraft/class_5189$class_5191;official bLdud$b;b:Ldud$b;named PARTLY_BURIEDLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;PARTLY_BURIED:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
ON_OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector intermediary field_24031Lnet/minecraft/class_5189$class_5191;field_24031:Lnet/minecraft/class_5189$class_5191;official cLdud$b;c:Ldud$b;named ON_OCEAN_FLOORLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_OCEAN_FLOOR:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_MOUNTAIN
- Mappings:
Namespace Name Mixin selector intermediary field_24032Lnet/minecraft/class_5189$class_5191;field_24032:Lnet/minecraft/class_5189$class_5191;official dLdud$b;d:Ldud$b;named IN_MOUNTAINLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_MOUNTAIN:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
UNDERGROUND
- Mappings:
Namespace Name Mixin selector intermediary field_24033Lnet/minecraft/class_5189$class_5191;field_24033:Lnet/minecraft/class_5189$class_5191;official eLdud$b;e:Ldud$b;named UNDERGROUNDLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;UNDERGROUND:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_NETHER
- Mappings:
Namespace Name Mixin selector intermediary field_24034Lnet/minecraft/class_5189$class_5191;field_24034:Lnet/minecraft/class_5189$class_5191;official fLdud$b;f:Ldud$b;named IN_NETHERLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_NETHER:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector intermediary field_37811Lnet/minecraft/class_5189$class_5191;field_37811:Lnet/minecraft/class_3542$class_7292;official gLdud$b;g:Lapr$a;named CODECLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;CODEC:Lnet/minecraft/util/StringIdentifiable$Codec;
-
id
- Mappings:
Namespace Name Mixin selector intermediary field_24036Lnet/minecraft/class_5189$class_5191;field_24036:Ljava/lang/String;official hLdud$b;h:Ljava/lang/String;named idLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;id:Ljava/lang/String;
-
-
Constructor Details
-
VerticalPlacement
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_5189$class_5191;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Ldud$b;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getId
- Mappings:
Namespace Name Mixin selector intermediary method_27252Lnet/minecraft/class_5189$class_5191;method_27252()Ljava/lang/String;official aLdud$b;a()Ljava/lang/String;named getIdLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;getId()Ljava/lang/String;
-
getFromId
- Mappings:
Namespace Name Mixin selector intermediary method_27254Lnet/minecraft/class_5189$class_5191;method_27254(Ljava/lang/String;)Lnet/minecraft/class_5189$class_5191;official aLdud$b;a(Ljava/lang/String;)Ldud$b;named getFromIdLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;getFromId(Ljava/lang/String;)Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
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 intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLapr;c()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-