UniDict

UniDict

50M Downloads

Resource methods kindExists and getKindFromName not working properly?

H-QueerCoded opened this issue ยท 1 comments

commented

Why might Resource.kindExists tell me that a kind which appears in the kindsDump doesn't exist?
I've tried to model my code off a combination of the UniDict crafttweaker code and the example for how to use the UniDictAPI.

commented

Nvm I figured out that it's because resources are gathered at init so by moving when I call the API to postInit I got it working.