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

23
src/org/bukkit/Chunk.java Normal file
View File

@@ -0,0 +1,23 @@
package org.bukkit;
/**
* Represents a chunk of blocks
*/
public interface Chunk {
/**
* Gets the X-coordinate of this chunk
*
* @return X-coordinate
*/
int getX();
/**
* Gets the Z-coordinate of this chunk
*
* @return Z-coordinate
*/
int getZ();
}