Uses of Enum
net.citizensnpcs.api.event.SpawnReason
Packages that use SpawnReason
-
Uses of SpawnReason in net.citizensnpcs.api.event
Methods in net.citizensnpcs.api.event that return SpawnReasonModifier and TypeMethodDescriptionNPCSpawnEvent.getReason()Gets the reason for spawning the NPC.static SpawnReasonReturns the enum constant of this type with the specified name.static SpawnReason[]SpawnReason.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 SpawnReason -
Uses of SpawnReason in net.citizensnpcs.api.npc
Methods in net.citizensnpcs.api.npc with parameters of type SpawnReasonModifier and TypeMethodDescriptiondefault booleanNPC.spawn(Location location, SpawnReason reason) Attempts to spawn this NPC.booleanNPC.spawn(Location at, SpawnReason reason, Consumer<Entity> callback) Attempts to spawn this NPC. -
Uses of SpawnReason in net.citizensnpcs.npc
Methods in net.citizensnpcs.npc with parameters of type SpawnReasonModifier and TypeMethodDescriptionbooleanCitizensNPC.spawn(Location at, SpawnReason reason, Consumer<Entity> callback)