INpcManager

interface INpcManager

General Interface for a very simple NPC Manager. Implementation for it in: net.crystopia.crystalshard.paper.npc.NpcManager

See also

NpcManager

Inheritors

Properties

Link copied to clipboard
abstract var registeredNpcs: MutableMap<NamespacedKey, INpc>

Functions

Link copied to clipboard
abstract fun getNpc(key: NamespacedKey): INpc?
Link copied to clipboard
abstract fun getNpcByEntityId(entityId: Int): INpc?
Link copied to clipboard
abstract fun register(key: NamespacedKey, npcObj: INpc)
Link copied to clipboard
abstract fun unRegister(key: NamespacedKey): Boolean