public class NbtStructureDataService extends Object implements StructureDataService
Constructor and Description |
---|
NbtStructureDataService(GlowWorld world,
File structureDir)
Creates the instance for the given world's structures.
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,GlowStructure> |
readStructuresData()
Reads the structures data from storage.
|
void |
writeStructuresData(Map<Integer,GlowStructure> structures)
Write the structures data to storage.
|
public Map<Integer,GlowStructure> readStructuresData()
StructureDataService
readStructuresData
in interface StructureDataService
public void writeStructuresData(Map<Integer,GlowStructure> structures)
StructureDataService
writeStructuresData
in interface StructureDataService
structures
- The structures to write to storage.Copyright © 2021. All rights reserved.