Added chunk, world and block interfaces

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2010-12-26 23:22:15 +00:00
parent 8f8f4aef90
commit a2d9b84796
4 changed files with 176 additions and 0 deletions

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();
}