Class ChunkStoreHelper
java.lang.Object
com.sk89q.worldedit.world.storage.ChunkStoreHelper
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Chunk
getChunk
(CompoundTag rootTag) Deprecated.static Chunk
getChunk
(org.enginehub.linbus.tree.LinCompoundTag rootTag) Convert a chunk NBT tag into aChunk
implementation.static CompoundTag
Deprecated.No replacement, just load the tag yourself
-
Method Details
-
readCompoundTag
@Deprecated public static CompoundTag readCompoundTag(ChunkStoreHelper.ChunkDataInputSupplier input) throws DataException, IOException Deprecated.No replacement, just load the tag yourselfReads a chunk from the given input stream.- Parameters:
input
- the input stream- Returns:
- the chunk
- Throws:
DataException
- if an error occursIOException
- if an I/O error occurs
-
getChunk
Deprecated.Convert a chunk NBT tag into aChunk
implementation.- Parameters:
rootTag
- the root tag of the chunk- Returns:
- a Chunk implementation
- Throws:
DataException
- if the rootTag is not valid chunk data
-
getChunk
Convert a chunk NBT tag into aChunk
implementation.- Parameters:
rootTag
- the root tag of the chunk- Returns:
- a Chunk implementation
- Throws:
DataException
- if the rootTag is not valid chunk data
-
getChunk(LinCompoundTag)