Interface StructureDataService

All Known Implementing Classes:
NbtStructureDataService

public interface StructureDataService
Provider of I/O for structures data.
  • Method Details

    • readStructuresData

      Map<Integer,GlowStructure> readStructuresData()
      Reads the structures data from storage.
      Returns:
      A map containing structures indexed by their chunk hash.
    • writeStructuresData

      void writeStructuresData(Map<Integer,GlowStructure> structures)
      Write the structures data to storage.
      Parameters:
      structures - The structures to write to storage.