Class RegionFile
java.lang.Object
org.cloudburstmc.server.level.provider.anvil.RegionFile
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanhasChunk(int x, int z)io.netty.buffer.ByteBufreadChunk(int x, int z)voidwriteChunk(int x, int z, io.netty.buffer.ByteBuf buffer)
-
Field Details
-
COMPRESSION_GZIP
public static final byte COMPRESSION_GZIP- See Also:
- Constant Field Values
-
COMPRESSION_ZLIB
public static final byte COMPRESSION_ZLIB- See Also:
- Constant Field Values
-
-
Constructor Details
-
RegionFile
- Throws:
IOException
-
-
Method Details
-
readChunk
- Throws:
IOException
-
writeChunk
- Throws:
IOException
-
hasChunk
public boolean hasChunk(int x, int z) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-