mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Added world.spawnTree(), world.spawnBigTree().
This commit is contained in:
parent
40985fcde0
commit
806e30733e
1 changed files with 16 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue