Uses of Interface
net.citizensnpcs.api.npc.NPCRegistry
Package
Description
-
Uses of NPCRegistry in net.citizensnpcs
Modifier and TypeMethodDescriptionCitizens.createAnonymousNPCRegistry
(NPCDataStore store) Citizens.createNamedNPCRegistry
(String name, NPCDataStore store) Citizens.getNamedNPCRegistry
(String name) Citizens.getNPCRegistry()
Citizens.getTemporaryNPCRegistry()
-
Uses of NPCRegistry in net.citizensnpcs.api
Modifier 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()
Modifier and TypeMethodDescriptionstatic Iterable
<NPCRegistry> CitizensAPI.getNPCRegistries()
CitizensPlugin.getNPCRegistries()
Get all registeredNPCRegistry
s. -
Uses of NPCRegistry in net.citizensnpcs.api.npc
Modifier 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) ModifierConstructorDescriptionprotected
AbstractNPC
(UUID uuid, int id, String name, NPCRegistry registry) -
Uses of NPCRegistry in net.citizensnpcs.npc
ModifierConstructorDescriptionCitizensNPC
(UUID uuid, int id, String name, EntityController controller, NPCRegistry registry) -
Uses of NPCRegistry in net.citizensnpcs.trait
Modifier and TypeMethodDescriptionprotected NPCRegistry
HologramTrait.SingleEntityHologramRenderer.registry()
Modifier and TypeMethodDescriptionvoid
HologramTrait.SingleEntityHologramRenderer.setRegistry
(NPCRegistry registry)