Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-04-22 01:25:41 -07:00
parent 5b405adff6
commit 60bfea1fce
3 changed files with 17 additions and 9 deletions

View File

@ -306,6 +306,14 @@ public interface World {
* @return Resulting LivingEntity of this method, or null if it was unsuccessful
*/
public LivingEntity spawnCreature(Location loc, CreatureType type);
/**
* Strikes lightning at the given {@link Location}
*
* @param loc The location to strike lightning
* @return
*/
public LightningStrike strikeLightning(Location loc);
/**
* Get a list of all entities in this World