Package net.minecraftforge.event.entity
Class ProjectileImpactEvent.FireworkRocket
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.entity.EntityEvent
-
- net.minecraftforge.event.entity.ProjectileImpactEvent
-
- net.minecraftforge.event.entity.ProjectileImpactEvent.FireworkRocket
-
- Enclosing class:
- ProjectileImpactEvent
public static class ProjectileImpactEvent.FireworkRocket extends ProjectileImpactEvent
Event is cancellable, causes firework to ignore the current hit and continue on its journey.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.ProjectileImpactEvent
ProjectileImpactEvent.Arrow, ProjectileImpactEvent.Fireball, ProjectileImpactEvent.FireworkRocket, ProjectileImpactEvent.FishingBobber, ProjectileImpactEvent.Throwable
-
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.Size
-
-
Field Summary
Fields Modifier and Type Field Description private FireworkRocketEntity
fireworkRocket
-
Constructor Summary
Constructors Constructor Description FireworkRocket(FireworkRocketEntity fireworkRocket, RayTraceResult ray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FireworkRocketEntity
getFireworkRocket()
-
Methods inherited from class net.minecraftforge.event.entity.ProjectileImpactEvent
getRayTraceResult
-
Methods inherited from class net.minecraftforge.event.entity.EntityEvent
getEntity
-
-
-
-
Field Detail
-
fireworkRocket
private final FireworkRocketEntity fireworkRocket
-
-
Constructor Detail
-
FireworkRocket
public FireworkRocket(FireworkRocketEntity fireworkRocket, RayTraceResult ray)
-
-
Method Detail
-
getFireworkRocket
public FireworkRocketEntity getFireworkRocket()
-
-