Uses of Enum
net.citizensnpcs.api.event.DespawnReason
Packages that use DespawnReason
Package
Description
-
Uses of DespawnReason in net.citizensnpcs.api.event
Methods in net.citizensnpcs.api.event that return DespawnReasonModifier 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.Constructors in net.citizensnpcs.api.event with parameters of type DespawnReason -
Uses of DespawnReason in net.citizensnpcs.api.npc
Methods in net.citizensnpcs.api.npc with parameters of type DespawnReasonModifier 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
Methods in net.citizensnpcs.api.trait with parameters of type DespawnReasonModifier and TypeMethodDescriptionvoid
Trait.onDespawn
(DespawnReason reason) Called just before the attachedNPC
is despawned. -
Uses of DespawnReason in net.citizensnpcs.npc
Methods in net.citizensnpcs.npc with parameters of type DespawnReasonModifier and TypeMethodDescriptionboolean
CitizensNPC.despawn
(DespawnReason reason) void
CitizensNPCRegistry.despawnNPCs
(DespawnReason reason) -
Uses of DespawnReason in net.citizensnpcs.trait
Methods in net.citizensnpcs.trait with parameters of type DespawnReason