public interface WorldStorageProvider
Modifier and Type | Method and Description |
---|---|
ChunkIoService |
getChunkIoService()
Gets the
ChunkIoService for this world, to be used for reading and writing chunk
data. |
File |
getFolder()
Gets the folder holding the world data, if the filesystem is being used.
|
FunctionIoService |
getFunctionIoService()
Gets the
FunctionIoService for this world, to be used for reading and writing
functions. |
WorldMetadataService |
getMetadataService()
Gets the
WorldMetadataService for this world, to be used for reading and writing
world metadata (seed, time, so on). |
PlayerDataService |
getPlayerDataService()
Gets the
PlayerDataService for this world, to be used for reading and writing data
for online and offline players. |
PlayerStatisticIoService |
getPlayerStatisticIoService()
Gets the
PlayerStatisticIoService for this world, to be used for reading and writing
player statistics. |
ScoreboardIoService |
getScoreboardIoService()
Gets the
ScoreboardIoService for this world, to be used for reading and writing data
for scoreboards. |
StructureDataService |
getStructureDataService()
Gets the
StructureDataService for this world, to be used for reading and writing data
for structures. |
void |
setWorld(GlowWorld world)
Initializes the storage to correspond to the given world.
|
void setWorld(GlowWorld world)
world
- The world to use.File getFolder()
ChunkIoService getChunkIoService()
ChunkIoService
for this world, to be used for reading and writing chunk
data.ChunkIoService
.WorldMetadataService getMetadataService()
WorldMetadataService
for this world, to be used for reading and writing
world metadata (seed, time, so on).WorldMetadataService
.PlayerDataService getPlayerDataService()
PlayerDataService
for this world, to be used for reading and writing data
for online and offline players.PlayerDataService
.StructureDataService getStructureDataService()
StructureDataService
for this world, to be used for reading and writing data
for structures.StructureDataService
.ScoreboardIoService getScoreboardIoService()
ScoreboardIoService
for this world, to be used for reading and writing data
for scoreboards.ScoreboardIoService
.PlayerStatisticIoService getPlayerStatisticIoService()
PlayerStatisticIoService
for this world, to be used for reading and writing
player statistics.PlayerStatisticIoService
.FunctionIoService getFunctionIoService()
FunctionIoService
for this world, to be used for reading and writing
functions.FunctionIoService
.Copyright © 2021. All rights reserved.