Class NPCRegistry
java.lang.Object
com.github.skriptdev.skript.api.skript.registration.NPCRegistry
Registry holder for NPC Roles.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NPCRegistry.NPCRolegetByIndex(int index) Get an NPCRole by its index;static Stringstatic NPCRegistry.NPCRolestatic Stringstringify(com.hypixel.hytale.server.npc.entities.NPCEntity entity)
-
Constructor Details
-
NPCRegistry
public NPCRegistry()
-
-
Method Details
-
getByIndex
Get an NPCRole by its index;- Parameters:
index- Index of the role- Returns:
- NPCRole with the given index, or null if not found
-
getTypeUsage
-
parse
-
stringify
-