Enum Class StructurePresence

java.lang.Object
java.lang.Enum<StructurePresence>
net.minecraft.world.StructurePresence
All Implemented Interfaces:
Serializable, Comparable<StructurePresence>, Constable

public enum StructurePresence extends Enum<StructurePresence>
An enum holding the presence of a certain structure start in a chunk.
See Also:
Mappings:
Namespace Name
named net/minecraft/world/StructurePresence
intermediary net/minecraft/class_6833
official eiz
  • Enum Constant Details

    • START_PRESENT

      public static final StructurePresence START_PRESENT
      The structure start is present in the chunk.
      Mappings:
      Namespace Name Mixin selector
      named START_PRESENT Lnet/minecraft/world/StructurePresence;START_PRESENT:Lnet/minecraft/world/StructurePresence;
      intermediary field_36239 Lnet/minecraft/class_6833;field_36239:Lnet/minecraft/class_6833;
      official a Leiz;a:Leiz;
    • START_NOT_PRESENT

      public static final StructurePresence START_NOT_PRESENT
      The structure start is not present in the chunk, or the start was already referenced and the skipReferencedStructures is set to true.
      Mappings:
      Namespace Name Mixin selector
      named START_NOT_PRESENT Lnet/minecraft/world/StructurePresence;START_NOT_PRESENT:Lnet/minecraft/world/StructurePresence;
      intermediary field_36240 Lnet/minecraft/class_6833;field_36240:Lnet/minecraft/class_6833;
      official b Leiz;b:Leiz;
    • CHUNK_LOAD_NEEDED

      public static final StructurePresence CHUNK_LOAD_NEEDED
      The chunk is not loaded.
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_LOAD_NEEDED Lnet/minecraft/world/StructurePresence;CHUNK_LOAD_NEEDED:Lnet/minecraft/world/StructurePresence;
      intermediary field_36241 Lnet/minecraft/class_6833;field_36241:Lnet/minecraft/class_6833;
      official c Leiz;c:Leiz;
  • Constructor Details

    • StructurePresence

      private StructurePresence()
  • Method Details

    • values

      public static StructurePresence[] 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 StructurePresence 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