Uses of Enum
net.citizensnpcs.api.event.DespawnReason
Package
Description
-
Uses of DespawnReason in net.citizensnpcs.api.event
Modifier and TypeMethodDescriptionNPCDespawnEvent.getReason()
static DespawnReason
Returns the enum constant of this type with the specified name.static DespawnReason[]
DespawnReason.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of DespawnReason in net.citizensnpcs.api.npc
Modifier and TypeMethodDescriptionboolean
NPC.despawn
(DespawnReason reason) Despawns this NPC.void
NPCRegistry.despawnNPCs
(DespawnReason reason) Despawn all NPCs within the registry. -
Uses of DespawnReason in net.citizensnpcs.api.trait
Modifier and TypeMethodDescriptionvoid
Trait.onDespawn
(DespawnReason reason) Called just before the attachedNPC
is despawned. -
Uses of DespawnReason in net.citizensnpcs.npc
Modifier and TypeMethodDescriptionboolean
CitizensNPC.despawn
(DespawnReason reason) void
CitizensNPCRegistry.despawnNPCs
(DespawnReason reason) -
Uses of DespawnReason in net.citizensnpcs.trait