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

This commit is contained in:
sk89q
2011-04-22 01:25:41 -07:00
parent 38e97d064f
commit b2ae16be0c
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