Added world.spawnTree(), world.spawnBigTree().

This commit is contained in:
sk89q
2011-01-02 18:00:57 -08:00
committed by Dinnerbone
parent 61d42cb7cc
commit 32e183d8dc

View File

@@ -27,4 +27,20 @@ public interface World {
*/
public ArrowEntity spawnArrow(Location loc, Vector velocity,
float speed, float spread);
/**
* Spawns a tree at a location.
*
* @param loc
* @return whether the tree was created
*/
public boolean generateTree(Location loc);
/**
* Spawns a big tree at a location.
*
* @param loc
* @return whether the tree was created
*/
public boolean generateBigTree(Location loc);
}