org.bukkit.entity
Interface LightningStrike

All Superinterfaces:
Entity, Metadatable, Weather

public interface LightningStrike
extends Weather

Represents an instance of a lightning strike. May or may not do damage.


Method Summary
 boolean isEffect()
          Returns whether the strike is an effect that does no damage.
 
Methods inherited from interface org.bukkit.entity.Entity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

isEffect

boolean isEffect()
Returns whether the strike is an effect that does no damage.

Returns:
whether the strike is an effect


Copyright © 2013. All Rights Reserved.