Added chunk, world and block interfaces

This commit is contained in:
Dinnerbone
2010-12-26 23:22:15 +00:00
parent 06d9676c09
commit 1447495125
4 changed files with 176 additions and 0 deletions

18
src/org/bukkit/World.java Normal file
View File

@@ -0,0 +1,18 @@
package org.bukkit;
/**
* Represents a world.
*
* Currently there is only one world in the default Minecraft spec, but this
* may change with the addition of a functional Nether world
*/
public interface World {
public Block getBlockAt(int x, int y, int z);
public Chunk getChunkAt(int x, int z);
public Chunk getChunkAt(Block block);
public boolean isChunkLoaded();
}