Enum Class StructureSpawns.BoundingBox

java.lang.Object
java.lang.Enum<StructureSpawns.BoundingBox>
net.minecraft.world.StructureSpawns.BoundingBox
All Implemented Interfaces:
Serializable, Comparable<StructureSpawns.BoundingBox>, Constable, StringIdentifiable
Enclosing class:
StructureSpawns

public static enum StructureSpawns.BoundingBox extends Enum<StructureSpawns.BoundingBox> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/world/StructureSpawns$BoundingBox
intermediary net/minecraft/class_7061$class_7062
official eis$a
  • Enum Constant Details

    • PIECE

      public static final StructureSpawns.BoundingBox PIECE
      Mappings:
      Namespace Name Mixin selector
      named PIECE Lnet/minecraft/world/StructureSpawns$BoundingBox;PIECE:Lnet/minecraft/world/StructureSpawns$BoundingBox;
      intermediary field_37199 Lnet/minecraft/class_7061$class_7062;field_37199:Lnet/minecraft/class_7061$class_7062;
      official a Leis$a;a:Leis$a;
    • STRUCTURE

      public static final StructureSpawns.BoundingBox STRUCTURE
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE Lnet/minecraft/world/StructureSpawns$BoundingBox;STRUCTURE:Lnet/minecraft/world/StructureSpawns$BoundingBox;
      intermediary field_37200 Lnet/minecraft/class_7061$class_7062;field_37200:Lnet/minecraft/class_7061$class_7062;
      official b Leis$a;b:Leis$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<StructureSpawns.BoundingBox> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/StructureSpawns$BoundingBox;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_37202 Lnet/minecraft/class_7061$class_7062;field_37202:Lcom/mojang/serialization/Codec;
      official c Leis$a;c:Lcom/mojang/serialization/Codec;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/StructureSpawns$BoundingBox;name:Ljava/lang/String;
      intermediary field_37203 Lnet/minecraft/class_7061$class_7062;field_37203:Ljava/lang/String;
      official d Leis$a;d:Ljava/lang/String;
  • Constructor Details

    • BoundingBox

      private BoundingBox(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/StructureSpawns$BoundingBox;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7061$class_7062;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Leis$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static StructureSpawns.BoundingBox[] 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

      public static StructureSpawns.BoundingBox valueOf(String name)
      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
    • 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;