Added World.strikeLightningEffect() that does no damage.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
@ -2,8 +2,17 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents an instance of a lightning strike entity
|
||||
* Represents an instance of a lightning strike. May or may not do damage.
|
||||
*
|
||||
* @author sk89q
|
||||
*/
|
||||
public interface LightningStrike extends Weather {
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether the strike is an effect that does no damage.
|
||||
*
|
||||
* @return whether the strike is an effect
|
||||
*/
|
||||
public boolean isEffect();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user