Interface Npc

    • Method Detail

      • getLevel

        int getLevel()
        Gets the npcs current level
        Returns:
        the npcs level, otherwise -1
      • getDefinition

        @Nullable
        @Nullable NpcDefinition getDefinition()
        A definition containing a vast collection of data regarding this npcs creation on the world-graph
        Returns:
        The definition, otherwise null
      • getActiveDefinition

        @Nullable
        default @Nullable NpcDefinition getActiveDefinition()
        Returns the active 'local state' of the NpcDefinition if one is present, otherwise returns the base NpcDefinition.