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
official dsc
intermediary net/minecraft/class_6833
named net/minecraft/world/StructurePresence
  • Enum Constant Details

    • START_PRESENT

      public static final StructurePresence START_PRESENT
      The 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_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
      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_NEEDED

      public static final StructurePresence CHUNK_LOAD_NEEDED
      The 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

    • 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