added load chunk method

This commit is contained in:
Raphfrk 2011-01-21 04:58:20 +08:00 committed by Dinner Bone
parent 541b7351cb
commit 95b50850bc

View File

@ -71,6 +71,12 @@ public interface World {
* @return true if the chunk is loaded, otherwise false * @return true if the chunk is loaded, otherwise false
*/ */
public boolean isChunkLoaded(Chunk chunk); public boolean isChunkLoaded(Chunk chunk);
/**
* Checks if the specified chunk is loaded
*
*/
public void loadChunk(Chunk chunk);
/** /**
* Drop an item exactly at the specified location. * Drop an item exactly at the specified location.