Enum Class LevelDBKey

java.lang.Object
java.lang.Enum<LevelDBKey>
org.cloudburstmc.server.level.provider.leveldb.LevelDBKey
All Implemented Interfaces:
Serializable, Comparable<LevelDBKey>, Constable

public enum LevelDBKey extends Enum<LevelDBKey>
  • Enum Constant Details

    • DATA_2D

      public static final LevelDBKey DATA_2D
    • DATA_2D_LEGACY

      public static final LevelDBKey DATA_2D_LEGACY
    • SUBCHUNK_PREFIX

      public static final LevelDBKey SUBCHUNK_PREFIX
    • LEGACY_TERRAIN

      public static final LevelDBKey LEGACY_TERRAIN
    • BLOCK_ENTITIES

      public static final LevelDBKey BLOCK_ENTITIES
    • ENTITIES

      public static final LevelDBKey ENTITIES
    • PENDING_TICKS

      public static final LevelDBKey PENDING_TICKS
    • BLOCK_EXTRA_DATA

      public static final LevelDBKey BLOCK_EXTRA_DATA
    • BIOME_STATE

      public static final LevelDBKey BIOME_STATE
    • STATE_FINALIZATION

      public static final LevelDBKey STATE_FINALIZATION
    • BORDER_BLOCKS

      public static final LevelDBKey BORDER_BLOCKS
    • HARDCODED_SPAWNERS

      public static final LevelDBKey HARDCODED_SPAWNERS
    • FLAGS

      public static final LevelDBKey FLAGS
    • VERSION

      public static final LevelDBKey VERSION
  • Method Details

    • values

      public static LevelDBKey[] 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 LevelDBKey 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
    • getKey

      public byte[] getKey(int chunkX, int chunkZ)
    • getKey

      public byte[] getKey(int chunkX, int chunkZ, int y)