Package net.minecraftforge.event.entity
Class EntityStruckByLightningEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.EntityStruckByLightningEvent
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
 
 
 
This event is
If this event is canceled, the Entity is not struck by the lightening.
 
This event does not have a result.
 
This event is fired on the
This event is fired whenever an EntityLightningBolt is updated to strike an Entity in
LightningBolt.tick() via ForgeEventFactory.onEntityStruckByLightning(Entity, LightningBolt).lightning contains the instance of EntityLightningBolt attempting to strike an entity.This event is
Cancelable.If this event is canceled, the Entity is not struck by the lightening.
This event does not have a result.
Event.HasResultThis event is fired on the
MinecraftForge.EVENT_BUS.- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEventEntityEvent.EnteringSection, EntityEvent.EntityConstructingNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.event.entity.EntityEventgetEntityMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
lightning
 
- 
- 
Constructor Details- 
EntityStruckByLightningEvent
 
- 
- 
Method Details- 
getLightning
 
-