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 official dxo$bintermediary net/minecraft/class_5189$class_5191named 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.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsFields 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.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 official aLdxo$b;a:Ldxo$b;intermediary field_24029Lnet/minecraft/class_5189$class_5191;field_24029:Lnet/minecraft/class_5189$class_5191;named ON_LAND_SURFACELnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_LAND_SURFACE:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
PARTLY_BURIED
- Mappings:
Namespace Name Mixin selector official bLdxo$b;b:Ldxo$b;intermediary field_24030Lnet/minecraft/class_5189$class_5191;field_24030:Lnet/minecraft/class_5189$class_5191;named PARTLY_BURIEDLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;PARTLY_BURIED:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
ON_OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector official cLdxo$b;c:Ldxo$b;intermediary field_24031Lnet/minecraft/class_5189$class_5191;field_24031:Lnet/minecraft/class_5189$class_5191;named ON_OCEAN_FLOORLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_OCEAN_FLOOR:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_MOUNTAIN
- Mappings:
Namespace Name Mixin selector official dLdxo$b;d:Ldxo$b;intermediary field_24032Lnet/minecraft/class_5189$class_5191;field_24032:Lnet/minecraft/class_5189$class_5191;named IN_MOUNTAINLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_MOUNTAIN:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
UNDERGROUND
- Mappings:
Namespace Name Mixin selector official eLdxo$b;e:Ldxo$b;intermediary field_24033Lnet/minecraft/class_5189$class_5191;field_24033:Lnet/minecraft/class_5189$class_5191;named UNDERGROUNDLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;UNDERGROUND:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_NETHER
- Mappings:
Namespace Name Mixin selector official fLdxo$b;f:Ldxo$b;intermediary field_24034Lnet/minecraft/class_5189$class_5191;field_24034:Lnet/minecraft/class_5189$class_5191;named IN_NETHERLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_NETHER:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
-
Field Details
-
CODEC
public static final StringIdentifiable.EnumCodec<RuinedPortalStructurePiece.VerticalPlacement> CODEC- Mappings:
Namespace Name Mixin selector official gLdxo$b;g:Lasp$a;intermediary field_37811Lnet/minecraft/class_5189$class_5191;field_37811:Lnet/minecraft/class_3542$class_7292;named CODECLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
-
id
- Mappings:
Namespace Name Mixin selector official hLdxo$b;h:Ljava/lang/String;intermediary field_24036Lnet/minecraft/class_5189$class_5191;field_24036:Ljava/lang/String;named idLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;id:Ljava/lang/String;
-
-
Constructor Details
-
VerticalPlacement
- Mappings:
Namespace Name Mixin selector official <init>Ldxo$b;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_5189$class_5191;<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 official aLdxo$b;a()Ljava/lang/String;intermediary method_27252Lnet/minecraft/class_5189$class_5191;method_27252()Ljava/lang/String;named getIdLnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;getId()Ljava/lang/String;
-
getFromId
- Mappings:
Namespace Name Mixin selector official aLdxo$b;a(Ljava/lang/String;)Ldxo$b;intermediary method_27254Lnet/minecraft/class_5189$class_5191;method_27254(Ljava/lang/String;)Lnet/minecraft/class_5189$class_5191;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 official cLasp;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-