public interface ICubeIO
extends java.io.Flushable, java.lang.AutoCloseable, net.minecraft.world.storage.IThreadedFileIO
| Modifier and Type | Interface and Description |
|---|---|
static class |
ICubeIO.PartialData<T>
Stores partially read cube, before sync read but after async read
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
columnExists(int columnX,
int columnZ) |
boolean |
cubeExists(int cubeX,
int cubeY,
int cubeZ) |
void |
flush() |
int |
getPendingColumnCount() |
int |
getPendingCubeCount() |
void |
loadColumnAsyncPart(ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> info,
int chunkX,
int chunkZ) |
default ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> |
loadColumnAsyncPart(net.minecraft.world.World world,
int chunkX,
int chunkZ) |
ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> |
loadColumnNbt(int chunkX,
int chunkZ) |
void |
loadColumnSyncPart(ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> info) |
default ICubeIO.PartialData<ICube> |
loadCubeAsyncPart(net.minecraft.world.chunk.Chunk column,
int cubeY) |
void |
loadCubeAsyncPart(ICubeIO.PartialData<ICube> info,
net.minecraft.world.chunk.Chunk column,
int cubeY) |
ICubeIO.PartialData<ICube> |
loadCubeNbt(net.minecraft.world.chunk.Chunk column,
int cubeY) |
void |
loadCubeSyncPart(ICubeIO.PartialData<ICube> info) |
void |
saveColumn(net.minecraft.world.chunk.Chunk column) |
void |
saveCube(Cube cube) |
void flush()
throws java.io.IOException
flush in interface java.io.Flushablejava.io.IOExceptionvoid close()
throws java.io.IOException
close in interface java.lang.AutoCloseablejava.io.IOExceptiondefault ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> loadColumnAsyncPart(net.minecraft.world.World world, int chunkX, int chunkZ) throws java.io.IOException
java.io.IOExceptionICubeIO.PartialData<net.minecraft.world.chunk.Chunk> loadColumnNbt(int chunkX, int chunkZ) throws java.io.IOException
java.io.IOExceptionvoid loadColumnAsyncPart(ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> info, int chunkX, int chunkZ)
void loadColumnSyncPart(ICubeIO.PartialData<net.minecraft.world.chunk.Chunk> info)
default ICubeIO.PartialData<ICube> loadCubeAsyncPart(net.minecraft.world.chunk.Chunk column, int cubeY) throws java.io.IOException
java.io.IOExceptionICubeIO.PartialData<ICube> loadCubeNbt(net.minecraft.world.chunk.Chunk column, int cubeY) throws java.io.IOException
java.io.IOExceptionvoid loadCubeAsyncPart(ICubeIO.PartialData<ICube> info, net.minecraft.world.chunk.Chunk column, int cubeY)
void loadCubeSyncPart(ICubeIO.PartialData<ICube> info)
void saveColumn(net.minecraft.world.chunk.Chunk column)
void saveCube(Cube cube)
boolean cubeExists(int cubeX,
int cubeY,
int cubeZ)
boolean columnExists(int columnX,
int columnZ)
int getPendingColumnCount()
int getPendingCubeCount()