Package net.minecraft.structure
Enum RuinedPortalStructurePiece.VerticalPlacement
java.lang.Object
java.lang.Enum<RuinedPortalStructurePiece.VerticalPlacement>
net.minecraft.structure.RuinedPortalStructurePiece.VerticalPlacement
- All Implemented Interfaces:
Serializable
,Comparable<RuinedPortalStructurePiece.VerticalPlacement>
,java.lang.constant.Constable
- Enclosing class:
- RuinedPortalStructurePiece
public static enum RuinedPortalStructurePiece.VerticalPlacement extends Enum<RuinedPortalStructurePiece.VerticalPlacement>
- Mappings:
Namespace Name official cxc$b
intermediary net/minecraft/class_5189$class_5191
named net/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_MOUNTAIN
IN_NETHER
ON_LAND_SURFACE
ON_OCEAN_FLOOR
PARTLY_BURIED
UNDERGROUND
-
Field Summary
Fields Modifier and Type Field Description private String
id
private static Map<String,RuinedPortalStructurePiece.VerticalPlacement>
VERTICAL_PLACEMENTS
-
Constructor Summary
Constructors Modifier Constructor Description private
VerticalPlacement(String id)
-
Method Summary
Modifier and Type Method Description static RuinedPortalStructurePiece.VerticalPlacement
getFromId(String id)
String
getId()
static RuinedPortalStructurePiece.VerticalPlacement
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuinedPortalStructurePiece.VerticalPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ON_LAND_SURFACE
- Mappings:
Namespace Name Mixin selector official a
Lcxc$b;a:Lcxc$b;
intermediary field_24029
Lnet/minecraft/class_5189$class_5191;field_24029:Lnet/minecraft/class_5189$class_5191;
named ON_LAND_SURFACE
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_LAND_SURFACE:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
PARTLY_BURIED
- Mappings:
Namespace Name Mixin selector official b
Lcxc$b;b:Lcxc$b;
intermediary field_24030
Lnet/minecraft/class_5189$class_5191;field_24030:Lnet/minecraft/class_5189$class_5191;
named PARTLY_BURIED
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;PARTLY_BURIED:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
ON_OCEAN_FLOOR
- Mappings:
Namespace Name Mixin selector official c
Lcxc$b;c:Lcxc$b;
intermediary field_24031
Lnet/minecraft/class_5189$class_5191;field_24031:Lnet/minecraft/class_5189$class_5191;
named ON_OCEAN_FLOOR
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;ON_OCEAN_FLOOR:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_MOUNTAIN
- Mappings:
Namespace Name Mixin selector official d
Lcxc$b;d:Lcxc$b;
intermediary field_24032
Lnet/minecraft/class_5189$class_5191;field_24032:Lnet/minecraft/class_5189$class_5191;
named IN_MOUNTAIN
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_MOUNTAIN:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
UNDERGROUND
- Mappings:
Namespace Name Mixin selector official e
Lcxc$b;e:Lcxc$b;
intermediary field_24033
Lnet/minecraft/class_5189$class_5191;field_24033:Lnet/minecraft/class_5189$class_5191;
named UNDERGROUND
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;UNDERGROUND:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
IN_NETHER
- Mappings:
Namespace Name Mixin selector official f
Lcxc$b;f:Lcxc$b;
intermediary field_24034
Lnet/minecraft/class_5189$class_5191;field_24034:Lnet/minecraft/class_5189$class_5191;
named IN_NETHER
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;IN_NETHER:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
-
Field Details
-
VERTICAL_PLACEMENTS
- Mappings:
Namespace Name Mixin selector official g
Lcxc$b;g:Ljava/util/Map;
intermediary field_24035
Lnet/minecraft/class_5189$class_5191;field_24035:Ljava/util/Map;
named VERTICAL_PLACEMENTS
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;VERTICAL_PLACEMENTS:Ljava/util/Map;
-
id
- Mappings:
Namespace Name Mixin selector official h
Lcxc$b;h:Ljava/lang/String;
intermediary field_24036
Lnet/minecraft/class_5189$class_5191;field_24036:Ljava/lang/String;
named id
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;id:Ljava/lang/String;
-
-
Constructor Details
-
VerticalPlacement
- Mappings:
Namespace Name Mixin selector official <init>
Lcxc$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5189$class_5191;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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 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
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lcxc$b;a()Ljava/lang/String;
intermediary method_27252
Lnet/minecraft/class_5189$class_5191;method_27252()Ljava/lang/String;
named getId
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;getId()Ljava/lang/String;
-
getFromId
- Mappings:
Namespace Name Mixin selector official a
Lcxc$b;a(Ljava/lang/String;)Lcxc$b;
intermediary method_27254
Lnet/minecraft/class_5189$class_5191;method_27254(Ljava/lang/String;)Lnet/minecraft/class_5189$class_5191;
named getFromId
Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;getFromId(Ljava/lang/String;)Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-