public interface WorldMetadataService
Modifier and Type | Interface and Description |
---|---|
static class |
WorldMetadataService.WorldFinalValues
A structure representing properties stored about a world that cannot be changed after its
initialization, namely seed and UUID.
|
Modifier and Type | Method and Description |
---|---|
WorldMetadataService.WorldFinalValues |
readWorldData()
Reads the world's metadata from storage, including final values such as seed and UUID that
are only set on first load.
|
void |
writeWorldData()
Write the world's metadata to storage.
|
WorldMetadataService.WorldFinalValues readWorldData()
WorldMetadataService.WorldFinalValues
with the seed and UUID.void writeWorldData() throws IOException
IOException
- if an I/O error occurs.Copyright © 2021. All rights reserved.