2010-12-26 23:22:15 +00:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2011-01-04 14:08:29 +00:00
|
|
|
/**
|
|
|
|
* Gets the world containing this chunk
|
|
|
|
*
|
|
|
|
* @return Parent World
|
|
|
|
*/
|
|
|
|
World getWorld();
|
2010-12-26 23:22:15 +00:00
|
|
|
}
|