Package noppes.npcs.api.event
Class NpcEvent.DiedEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.NpcEvent
noppes.npcs.api.event.NpcEvent.DiedEvent
- Enclosing class:
- NpcEvent
public static class NpcEvent.DiedEvent extends NpcEvent
died
-
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 IDamageSource
damageSource
IItemStack[]
droppedItems
int
expDropped
ILine
line
IEntity
source
java.lang.String
type
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors Constructor Description DiedEvent(ICustomNpc npc, net.minecraft.util.DamageSource damagesource, net.minecraft.entity.Entity entity)
-
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
-
damageSource
-
type
public final java.lang.String type -
source
-
droppedItems
-
expDropped
public int expDropped -
line
-
-
Constructor Details
-
DiedEvent
public DiedEvent(ICustomNpc npc, net.minecraft.util.DamageSource damagesource, net.minecraft.entity.Entity entity)
-