Package net.glowstone.io
Interface StructureDataService
- All Known Implementing Classes:
NbtStructureDataService
public interface StructureDataService
Provider of I/O for structures data.
-
Method Summary
Modifier and TypeMethodDescriptionReads the structures data from storage.void
writeStructuresData
(Map<Integer, GlowStructure> structures) Write the structures data to storage.
-
Method Details
-
readStructuresData
Map<Integer,GlowStructure> readStructuresData()Reads the structures data from storage.- Returns:
- A map containing structures indexed by their chunk hash.
-
writeStructuresData
Write the structures data to storage.- Parameters:
structures
- The structures to write to storage.
-