EntityStruckByLightningEvent is fired when an Entity is about to be struck by lightening. This event is fired whenever an EntityLightningBolt is updated to strike an Entity in EntityLightningBolt#onUpdate() via {@link ForgeEventFactory#onEntityStruckByLightning(Entity,EntityLightningBolt)}.
{@link #lightning} contains the instance of EntityLightningBolt attempting to strike an entity.
This event is {@link Cancelable}. If this event is canceled, the Entity is not struck by the lightening.
This event does not have a result. {@link HasResult}
This event is fired on the {@link MinecraftForge#EVENT_BUS}.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.