Package org.bukkit.entity
Interface LightningStrike
- All Superinterfaces:
CommandSender,Entity,Metadatable,Permissible,ServerOperator,Weather
public interface LightningStrike extends Weather
Represents an instance of a lightning strike. May or may not do damage.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLightningStrike.Spigot -
Method Summary
Modifier and Type Method Description booleanisEffect()Returns whether the strike is an effect that does no damage.LightningStrike.Spigotspigot()Methods inherited from interface org.bukkit.entity.Entity
eject, getCustomName, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isCustomNameVisible, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
-
Method Details
-
isEffect
boolean isEffect()Returns whether the strike is an effect that does no damage.- Returns:
- whether the strike is an effect
-
spigot
LightningStrike.Spigot spigot()
-