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 DespawnReasonReturns 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 TypeMethodDescriptionbooleanNPC.despawn(DespawnReason reason) Despawns this NPC.voidNPCRegistry.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 TypeMethodDescriptionvoidTrait.onDespawn(DespawnReason reason) Called just before the attachedNPCis despawned. -
Uses of DespawnReason in net.citizensnpcs.npc
Methods in net.citizensnpcs.npc with parameters of type DespawnReasonModifier and TypeMethodDescriptionbooleanCitizensNPC.despawn(DespawnReason reason) voidCitizensNPCRegistry.despawnNPCs(DespawnReason reason) -
Uses of DespawnReason in net.citizensnpcs.trait
Methods in net.citizensnpcs.trait with parameters of type DespawnReason