![Pufferfish's Skills [Fabric & Forge & NeoForge]](https://media.forgecdn.net/avatars/thumbnails/786/631/256/256/638138098303113835.png)
getUnlockedSkills replacement
Sweenus opened this issue ยท 5 comments
Hi there ๐
With the removal of getUnlockedSkills from the API in the latest version, is there an alternate way I can access this information?
Use
SkillsAPI.getCategory(...)
and thenCategory.getUnlockedSkills(...)
.
Perfect! Thank you ๐
Sorry for all the questions.
Is there an easy way to match a skill against the definitions/skills file?
Previously, getUnlockedSkills returned the literal IDs found in the Skills.json, which allowed me to create an index of public strings I could access to execute player abilities when specific skills were unlocked.
This is no longer the case and I'm not too sure how to convert the ouptut of getUnlockedSkills into something I can match against the Definitions.json or Skills.json.
Thank you! That sent me down the right path and I have it all working now.
And thank you for offering a direct line of communication. I've felt a little bad spamming your issue tracker like this ๐