Package lol.pyr.znpcsplus.api.npc
Interface NpcTypeRegistry
public interface NpcTypeRegistry
Base for NpcType registries.
-
Method Summary
-
Method Details
-
getByName
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
-