mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Added world.spawnTree(), world.spawnBigTree().
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
c6d45a3ae2
commit
a2cbf2b29e
@ -27,4 +27,20 @@ public interface World {
|
|||||||
*/
|
*/
|
||||||
public ArrowEntity spawnArrow(Location loc, Vector velocity,
|
public ArrowEntity spawnArrow(Location loc, Vector velocity,
|
||||||
float speed, float spread);
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user