Uses of Interface
net.citizensnpcs.api.npc.NPCRegistry
Packages that use NPCRegistry
Package
Description
-
Uses of NPCRegistry in net.citizensnpcs
Methods in net.citizensnpcs that return NPCRegistryModifier and TypeMethodDescriptionCitizens.createAnonymousNPCRegistry
(NPCDataStore store) Citizens.createNamedNPCRegistry
(String name, NPCDataStore store) Citizens.getNamedNPCRegistry
(String name) Citizens.getNPCRegistry()
Citizens.getTemporaryNPCRegistry()
Methods in net.citizensnpcs that return types with arguments of type NPCRegistry -
Uses of NPCRegistry in net.citizensnpcs.api
Methods in net.citizensnpcs.api that return NPCRegistryModifier and TypeMethodDescriptionstatic NPCRegistry
CitizensAPI.createAnonymousNPCRegistry
(NPCDataStore store) Creates a new anonymousNPCRegistry
with its own set ofNPC
s.CitizensPlugin.createAnonymousNPCRegistry
(NPCDataStore store) static NPCRegistry
CitizensAPI.createInMemoryNPCRegistry
(String name) Creates a newNPCRegistry
with its own set ofNPC
s that does not save to disk.static NPCRegistry
CitizensAPI.createNamedNPCRegistry
(String name, NPCDataStore store) Creates a newNPCRegistry
with its own set ofNPC
s.CitizensPlugin.createNamedNPCRegistry
(String name, NPCDataStore store) static NPCRegistry
CitizensAPI.getNamedNPCRegistry
(String name) Retrieves theNPCRegistry
previously created viaCitizensAPI.createNamedNPCRegistry(String, NPCDataStore)
with the given name, or null if not found.CitizensPlugin.getNamedNPCRegistry
(String name) static NPCRegistry
CitizensAPI.getNPCRegistry()
Gets the current implementation's defaultNPCRegistry
.CitizensPlugin.getNPCRegistry()
Gets the defaultNPCRegistry
.static NPCRegistry
CitizensAPI.getTemporaryNPCRegistry()
Gets the current implementation's default temporaryNPCRegistry
.CitizensPlugin.getTemporaryNPCRegistry()
Methods in net.citizensnpcs.api that return types with arguments of type NPCRegistryModifier and TypeMethodDescriptionstatic Iterable
<NPCRegistry> CitizensAPI.getNPCRegistries()
CitizensPlugin.getNPCRegistries()
Get all registeredNPCRegistry
s.Constructors in net.citizensnpcs.api with parameters of type NPCRegistry -
Uses of NPCRegistry in net.citizensnpcs.api.npc
Methods in net.citizensnpcs.api.npc that return NPCRegistryMethods in net.citizensnpcs.api.npc with parameters of type NPCRegistryModifier and TypeMethodDescriptionint
MemoryNPCDataStore.createUniqueNPCId
(NPCRegistry registry) int
NPCDataStore.createUniqueNPCId
(NPCRegistry registry) int
SimpleNPCDataStore.createUniqueNPCId
(NPCRegistry registry) void
MemoryNPCDataStore.loadInto
(NPCRegistry registry) void
NPCDataStore.loadInto
(NPCRegistry registry) Loads NPCs from disk into the givenNPCRegistry
.void
SimpleNPCDataStore.loadInto
(NPCRegistry registry) void
MemoryNPCDataStore.storeAll
(NPCRegistry registry) void
NPCDataStore.storeAll
(NPCRegistry registry) Stores allNPC
s in the givenNPCRegistry
to disk.void
SimpleNPCDataStore.storeAll
(NPCRegistry registry) Constructors in net.citizensnpcs.api.npc with parameters of type NPCRegistryModifierConstructorDescriptionprotected
AbstractNPC
(UUID uuid, int id, String name, NPCRegistry registry) -
Uses of NPCRegistry in net.citizensnpcs.npc
Classes in net.citizensnpcs.npc that implement NPCRegistryConstructors in net.citizensnpcs.npc with parameters of type NPCRegistryModifierConstructorDescriptionCitizensNPC
(UUID uuid, int id, String name, EntityController controller, NPCRegistry registry) -
Uses of NPCRegistry in net.citizensnpcs.trait
Methods in net.citizensnpcs.trait that return NPCRegistryModifier and TypeMethodDescriptionprotected NPCRegistry
HologramTrait.SingleEntityHologramRenderer.registry()
Methods in net.citizensnpcs.trait with parameters of type NPCRegistryModifier and TypeMethodDescriptionvoid
HologramTrait.SingleEntityHologramRenderer.setRegistry
(NPCRegistry registry)