Enum Class ChunkStatus.ChunkType

java.lang.Object
java.lang.Enum<ChunkStatus.ChunkType>
net.minecraft.world.chunk.ChunkStatus.ChunkType
All Implemented Interfaces:
Serializable, Comparable<ChunkStatus.ChunkType>, Constable
Enclosing class:
ChunkStatus

public static enum ChunkStatus.ChunkType extends Enum<ChunkStatus.ChunkType>
Specifies the type of a chunk
Mappings:
Namespace Name
official dau$a
intermediary net/minecraft/class_2806$class_2808
named net/minecraft/world/chunk/ChunkStatus$ChunkType
  • Enum Constant Details

    • PROTOCHUNK

      public static final ChunkStatus.ChunkType PROTOCHUNK
      A chunk which is incomplete and not loaded to the world yet.
      Mappings:
      Namespace Name Mixin selector
      official a Ldau$a;a:Ldau$a;
      intermediary field_12808 Lnet/minecraft/class_2806$class_2808;field_12808:Lnet/minecraft/class_2806$class_2808;
      named PROTOCHUNK Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;PROTOCHUNK:Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
    • LEVELCHUNK

      public static final ChunkStatus.ChunkType LEVELCHUNK
      A chunk which is complete and bound to a world.
      Mappings:
      Namespace Name Mixin selector
      official b Ldau$a;b:Ldau$a;
      intermediary field_12807 Lnet/minecraft/class_2806$class_2808;field_12807:Lnet/minecraft/class_2806$class_2808;
      named LEVELCHUNK Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;LEVELCHUNK:Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
  • Constructor Details

    • ChunkType

      private ChunkType()
  • Method Details

    • values

      public static ChunkStatus.ChunkType[] 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 ChunkStatus.ChunkType 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