public abstract class LegacyChunkStore extends ChunkStore
CHUNK_SHIFTS| Constructor and Description |
|---|
LegacyChunkStore() |
| Modifier and Type | Method and Description |
|---|---|
CompoundTag |
getChunkTag(Vector2D pos,
LocalWorld world)
Get the tag for a chunk.
|
static String |
getFilename(Vector2D pos)
Get the filename of a chunk, using the system's default path
separator.
|
static String |
getFilename(Vector2D pos,
String separator)
Get the filename of a chunk.
|
protected abstract InputStream |
getInputStream(String f1,
String f2,
String name)
Get the input stream for a chunk file.
|
close, getChunk, isValid, toChunkpublic static String getFilename(Vector2D pos, String separator)
pos - separator - public static String getFilename(Vector2D pos)
pos - public CompoundTag getChunkTag(Vector2D pos, LocalWorld world) throws DataException, IOException
getChunkTag in class ChunkStorepos - DataExceptionIOExceptionprotected abstract InputStream getInputStream(String f1, String f2, String name) throws IOException, DataException
f1 - f2 - name - IOExceptionDataExceptionCopyright © 2010-2014. All Rights Reserved.