Interface NpcTypeRegistry


public interface NpcTypeRegistry
Base for NpcType registries.
  • Method Details

    • getByName

      NpcType getByName(String name)
      Gets a NPC type by name.
      Parameters:
      name - The name of the NPC type.
      Returns:
      The type that is represented by the name or null if it doesnt exist
    • getAll

      Collection<NpcType> getAll()
      Gets all NPC types.
      Returns:
      all of the npc types