public class NpcEvent extends CustomNPCsEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
NpcEvent.CollideEvent |
static class |
NpcEvent.DamagedEvent |
static class |
NpcEvent.DialogClosedEvent |
static class |
NpcEvent.DialogEvent |
static class |
NpcEvent.DiedEvent |
static class |
NpcEvent.InitEvent |
static class |
NpcEvent.InteractEvent |
static class |
NpcEvent.KilledEntityEvent |
static class |
NpcEvent.MeleeAttackEvent |
static class |
NpcEvent.RangedLaunchedEvent |
static class |
NpcEvent.TargetEvent |
static class |
NpcEvent.TargetLostEvent |
static class |
NpcEvent.TimerEvent |
static class |
NpcEvent.UpdateEvent |
CustomNPCsEvent.CNPCNaturalSpawnEvent| Modifier and Type | Field and Description |
|---|---|
ICustomNpc |
npc |
API| Constructor and Description |
|---|
NpcEvent(ICustomNpc npc) |
isCancelled, setCancelledpublic final ICustomNpc npc
public NpcEvent(ICustomNpc npc)