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 dtv$b
intermediary net/minecraft/class_5189$class_5191
named net/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement
  • Enum Constant Details

    • ON_LAND_SURFACE

      public static final RuinedPortalStructurePiece.VerticalPlacement ON_LAND_SURFACE
      Mappings:
      Namespace Name Mixin selector
      official a Ldtv$b;a:Ldtv$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

      public static final RuinedPortalStructurePiece.VerticalPlacement PARTLY_BURIED
      Mappings:
      Namespace Name Mixin selector
      official b Ldtv$b;b:Ldtv$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

      public static final RuinedPortalStructurePiece.VerticalPlacement ON_OCEAN_FLOOR
      Mappings:
      Namespace Name Mixin selector
      official c Ldtv$b;c:Ldtv$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

      public static final RuinedPortalStructurePiece.VerticalPlacement IN_MOUNTAIN
      Mappings:
      Namespace Name Mixin selector
      official d Ldtv$b;d:Ldtv$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

      public static final RuinedPortalStructurePiece.VerticalPlacement UNDERGROUND
      Mappings:
      Namespace Name Mixin selector
      official e Ldtv$b;e:Ldtv$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

      public static final RuinedPortalStructurePiece.VerticalPlacement IN_NETHER
      Mappings:
      Namespace Name Mixin selector
      official f Ldtv$b;f:Ldtv$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

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official g Ldtv$b;g:Laqa$a;
      intermediary field_37811 Lnet/minecraft/class_5189$class_5191;field_37811:Lnet/minecraft/class_3542$class_7292;
      named CODEC Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;CODEC:Lnet/minecraft/util/StringIdentifiable$Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official h Ldtv$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

      private VerticalPlacement(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtv$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 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 name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldtv$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 Ldtv$b;a(Ljava/lang/String;)Ldtv$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;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      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;