Package net.minecraft.world
Enum Class StructurePresence
- All Implemented Interfaces:
Serializable,Comparable<StructurePresence>,Constable
An enum holding the presence of a certain structure start in a chunk.
- See Also:
- Mappings:
Namespace Name named net/minecraft/world/StructurePresenceintermediary net/minecraft/class_6833official ejt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe chunk is not loaded.The structure start is not present in the chunk, or the start was already referenced and theskipReferencedStructuresis set totrue.The structure start is present in the chunk. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StructurePresenceReturns the enum constant of this class with the specified name.static StructurePresence[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_PRESENT
The structure start is present in the chunk.- Mappings:
Namespace Name Mixin selector named START_PRESENTLnet/minecraft/world/StructurePresence;START_PRESENT:Lnet/minecraft/world/StructurePresence;intermediary field_36239Lnet/minecraft/class_6833;field_36239:Lnet/minecraft/class_6833;official aLejt;a:Lejt;
-
START_NOT_PRESENT
The structure start is not present in the chunk, or the start was already referenced and theskipReferencedStructuresis set totrue.- Mappings:
Namespace Name Mixin selector named START_NOT_PRESENTLnet/minecraft/world/StructurePresence;START_NOT_PRESENT:Lnet/minecraft/world/StructurePresence;intermediary field_36240Lnet/minecraft/class_6833;field_36240:Lnet/minecraft/class_6833;official bLejt;b:Lejt;
-
CHUNK_LOAD_NEEDED
The chunk is not loaded.- Mappings:
Namespace Name Mixin selector named CHUNK_LOAD_NEEDEDLnet/minecraft/world/StructurePresence;CHUNK_LOAD_NEEDED:Lnet/minecraft/world/StructurePresence;intermediary field_36241Lnet/minecraft/class_6833;field_36241:Lnet/minecraft/class_6833;official cLejt;c:Lejt;
-
-
Constructor Details
-
StructurePresence
private StructurePresence()
-
-
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
-