public enum LevelDBKey extends Enum<LevelDBKey>
| Enum Constant and Description |
|---|
BIOME_STATE |
BLOCK_ENTITIES |
BLOCK_EXTRA_DATA |
BORDER_BLOCKS |
DATA_2D |
DATA_2D_LEGACY |
ENTITIES |
FLAGS |
HARDCODED_SPAWNERS |
LEGACY_TERRAIN |
PENDING_TICKS |
STATE_FINALIZATION |
SUBCHUNK_PREFIX |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getKey(int chunkX,
int chunkZ) |
byte[] |
getKey(int chunkX,
int chunkZ,
int y) |
static LevelDBKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LevelDBKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LevelDBKey DATA_2D
public static final LevelDBKey DATA_2D_LEGACY
public static final LevelDBKey SUBCHUNK_PREFIX
public static final LevelDBKey LEGACY_TERRAIN
public static final LevelDBKey BLOCK_ENTITIES
public static final LevelDBKey ENTITIES
public static final LevelDBKey PENDING_TICKS
public static final LevelDBKey BLOCK_EXTRA_DATA
public static final LevelDBKey BIOME_STATE
public static final LevelDBKey STATE_FINALIZATION
public static final LevelDBKey BORDER_BLOCKS
public static final LevelDBKey HARDCODED_SPAWNERS
public static final LevelDBKey FLAGS
public static final LevelDBKey VERSION
public static LevelDBKey[] values()
for (LevelDBKey c : LevelDBKey.values()) System.out.println(c);
public static LevelDBKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte[] getKey(int chunkX,
int chunkZ)
public byte[] getKey(int chunkX,
int chunkZ,
int y)
Copyright © 2020. All rights reserved.