WanionCane / UniDict

a mod about unifying all the things.
https://www.curseforge.com/minecraft/mc-mods/unidict
Mozilla Public License 2.0
39 stars 16 forks source link

Resource methods kindExists and getKindFromName not working properly? #176

Closed H-QueerCoded closed 4 years ago

H-QueerCoded commented 4 years ago

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.

H-QueerCoded commented 4 years ago

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.