Package net.minecraft.world
Enum Class 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$BoundingBoxintermediary net/minecraft/class_7061$class_7062official ejy$a
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StructureSpawns.BoundingBox> private final StringFields 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.static StructureSpawns.BoundingBoxReturns the enum constant of this class with the specified name.static StructureSpawns.BoundingBox[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PIECE
- Mappings:
Namespace Name Mixin selector named PIECELnet/minecraft/world/StructureSpawns$BoundingBox;PIECE:Lnet/minecraft/world/StructureSpawns$BoundingBox;intermediary field_37199Lnet/minecraft/class_7061$class_7062;field_37199:Lnet/minecraft/class_7061$class_7062;official aLejy$a;a:Lejy$a;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector named STRUCTURELnet/minecraft/world/StructureSpawns$BoundingBox;STRUCTURE:Lnet/minecraft/world/StructureSpawns$BoundingBox;intermediary field_37200Lnet/minecraft/class_7061$class_7062;field_37200:Lnet/minecraft/class_7061$class_7062;official bLejy$a;b:Lejy$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/StructureSpawns$BoundingBox;CODEC:Lcom/mojang/serialization/Codec;intermediary field_37202Lnet/minecraft/class_7061$class_7062;field_37202:Lcom/mojang/serialization/Codec;official cLejy$a;c:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/world/StructureSpawns$BoundingBox;name:Ljava/lang/String;intermediary field_37203Lnet/minecraft/class_7061$class_7062;field_37203:Ljava/lang/String;official dLejy$a;d:Ljava/lang/String;
-
-
Constructor Details
-
BoundingBox
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/StructureSpawns$BoundingBox;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7061$class_7062;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lejy$a;<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
-
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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-