Class ProjectileEvent.ImpactEvent

java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.ProjectileEvent
noppes.npcs.api.event.ProjectileEvent.ImpactEvent
Enclosing class:
ProjectileEvent

public static class ProjectileEvent.ImpactEvent
extends ProjectileEvent
projectileImpact
  • Nested Class Summary

    Nested classes/interfaces inherited from class noppes.npcs.api.event.ProjectileEvent

    ProjectileEvent.ImpactEvent, ProjectileEvent.UpdateEvent

    Nested classes/interfaces inherited from class net.minecraftforge.fml.common.eventhandler.Event

    net.minecraftforge.fml.common.eventhandler.Event.HasResult, net.minecraftforge.fml.common.eventhandler.Event.Result
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.Object target  
    int type
    0:entity, 1:block

    Fields inherited from class noppes.npcs.api.event.ProjectileEvent

    projectile

    Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent

    API
  • Constructor Summary

    Constructors
    Constructor Description
    ImpactEvent​(IProjectile projectile, int type, java.lang.Object target)  
  • Method Summary

    Methods inherited from class net.minecraftforge.fml.common.eventhandler.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      public final int type
      0:entity, 1:block
    • target

      public final java.lang.Object target
  • Constructor Details

    • ImpactEvent

      public ImpactEvent​(IProjectile projectile, int type, java.lang.Object target)