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 - official - dsc- intermediary - net/minecraft/class_6833- named - net/minecraft/world/StructurePresence
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryConstructors
- 
Method SummaryModifier 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_PRESENTThe structure start is present in the chunk.- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldsc;a:Ldsc;- intermediary - field_36239- Lnet/minecraft/class_6833;field_36239:Lnet/minecraft/class_6833;- named - START_PRESENT- Lnet/minecraft/world/StructurePresence;START_PRESENT:Lnet/minecraft/world/StructurePresence;
 
- 
START_NOT_PRESENTThe structure start is not present in the chunk, or the start was already referenced and theskipReferencedStructuresis set totrue.- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldsc;b:Ldsc;- intermediary - field_36240- Lnet/minecraft/class_6833;field_36240:Lnet/minecraft/class_6833;- named - START_NOT_PRESENT- Lnet/minecraft/world/StructurePresence;START_NOT_PRESENT:Lnet/minecraft/world/StructurePresence;
 
- 
CHUNK_LOAD_NEEDEDThe chunk is not loaded.- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldsc;c:Ldsc;- intermediary - field_36241- Lnet/minecraft/class_6833;field_36241:Lnet/minecraft/class_6833;- named - CHUNK_LOAD_NEEDED- Lnet/minecraft/world/StructurePresence;CHUNK_LOAD_NEEDED:Lnet/minecraft/world/StructurePresence;
 
 
- 
- 
Constructor Details- 
StructurePresenceprivate StructurePresence()
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-