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()
StructureDataServicereadStructuresData in interface StructureDataServicepublic void writeStructuresData(Map<Integer,GlowStructure> structures)
StructureDataServicewriteStructuresData in interface StructureDataServicestructures - The structures to write to storage.Copyright © 2021. All rights reserved.