Interface OfflineChunk
- All Superinterfaces:
DataSerializable
Represents an offline chunk and its data.
The chunk may also be currently loaded!
-
Method Summary
Modifier and TypeMethodDescriptionReturns the chunk position.Returns the offline chunk data.Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion
-
Method Details
-
chunkPosition
Vector3i chunkPosition()Returns the chunk position.- Returns:
- the chunk position
-
toContainer
DataContainer toContainer()Returns the offline chunk data.- Specified by:
toContainer
in interfaceDataSerializable
- Returns:
- the offline chunk data
-