Package noppes.npcs.api.event
Class NpcEvent.RangedLaunchedEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.NpcEvent
noppes.npcs.api.event.NpcEvent.RangedLaunchedEvent
- Enclosing class:
- NpcEvent
public static class NpcEvent.RangedLaunchedEvent extends NpcEvent
rangedAttack
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.NpcEvent
NpcEvent.CollideEvent, NpcEvent.DamagedEvent, NpcEvent.DiedEvent, NpcEvent.InitEvent, NpcEvent.InteractEvent, NpcEvent.KilledEntityEvent, NpcEvent.MeleeAttackEvent, NpcEvent.RangedLaunchedEvent, NpcEvent.TargetEvent, NpcEvent.TargetLostEvent, NpcEvent.TimerEvent, NpcEvent.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 float
damage
java.util.List<IProjectile>
projectiles
IEntityLivingBase
target
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors Constructor Description RangedLaunchedEvent(ICustomNpc npc, net.minecraft.entity.EntityLivingBase target, float damage)
-
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
-
target
-
damage
public float damage -
projectiles
-
-
Constructor Details
-
RangedLaunchedEvent
public RangedLaunchedEvent(ICustomNpc npc, net.minecraft.entity.EntityLivingBase target, float damage)
-