World <-- Region <-- Chunk Weak references
This commit is contained in:
@@ -45,6 +45,9 @@ public interface Chunk extends Serializable{
|
||||
int getY();
|
||||
int getZ();
|
||||
|
||||
void setBlock (int x, int y, int z, Block block);
|
||||
Block getBlock (int x, int y, int z);
|
||||
void setBlock(int x, int y, int z, Block block);
|
||||
Block getBlock(int x, int y, int z);
|
||||
|
||||
Region getRegion();
|
||||
World getWorld();
|
||||
}
|
||||
|
||||
@@ -30,5 +30,7 @@ public interface Region extends Serializable{
|
||||
Biome getBiomeAt (int x, int z);
|
||||
void setBiome (int x, int z, Biome biome);
|
||||
|
||||
World getWorld();
|
||||
|
||||
void save(Serializer<Chunk> chunkSerializer, IRegionReaderWriter regionReaderWritter) throws IOException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user