NPCLevelDbAdapter

A LevelDB adapter for NPC storage

Functions

Link copied to clipboard
fun addNpc(instance: NPCInstance, id: UUID)

Adds an NPC to world

Link copied to clipboard
fun close()

Saves all NPCs

Link copied to clipboard
open override fun load(from: CompoundTag)
Link copied to clipboard
fun onPlayerEntityInteract(e: PlayerInteractEntityEvent)
Link copied to clipboard
fun onPlayerJoin(e: PlayerJoinEvent)
Link copied to clipboard
fun playerWorldChange(e: PlayerTeleportEvent)
Link copied to clipboard
open override fun save(to: CompoundTag)

Properties

Link copied to clipboard