Archived
0

add World, Chunk interfaces

This commit is contained in:
2021-05-09 18:42:33 +03:00
parent ab17160f9d
commit 2b0ad9895b
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package mc.protocol.world;
public interface Chunk {
int getX();
int getZ();
}

View File

@@ -0,0 +1,13 @@
package mc.protocol.world;
import mc.protocol.model.Location;
import mc.protocol.utils.LevelType;
public interface World {
LevelType getLevelType();
Location getSpawn();
Chunk getChunk(int x, int z);
}