NpcEvent.CollideEvent, NpcEvent.DamagedEvent, NpcEvent.DialogClosedEvent, NpcEvent.DialogEvent, NpcEvent.DiedEvent, NpcEvent.InitEvent, NpcEvent.InteractEvent, NpcEvent.KilledEntityEvent, NpcEvent.MeleeAttackEvent, NpcEvent.RangedLaunchedEvent, NpcEvent.TargetEvent, NpcEvent.TargetLostEvent, NpcEvent.TimerEvent, NpcEvent.UpdateEventCustomNPCsEvent.CNPCNaturalSpawnEvent| Modifier and Type | Field and Description |
|---|---|
IEntityLivingBase |
entity |
API| Constructor and Description |
|---|
KilledEntityEvent(ICustomNpc npc,
net.minecraft.entity.EntityLivingBase entity) |
isCancelled, setCancelledpublic final IEntityLivingBase entity
public KilledEntityEvent(ICustomNpc npc, net.minecraft.entity.EntityLivingBase entity)