I found code from a mod that has built in resource packs in the mod client file which I am assuming is how I can create one. After copying the code into my mod, modifying the code so it has no errors and creating the texture pack in the resourcepacks package. It still gives me a crash report. There are no errors in the code. The crash report along with my code and the mod I took the code from is sent. I did check if the mod I took the code from is in the version I am working on. And it is.
#Help with an error about built in resource packs.
19 messages · Page 1 of 1 (latest)
the error doesn't point to the resource pack registration code
The what does it point to?
I don't really understand what is written in the crash report.
Caused by: net.fabricmc.loader.api.LanguageAdapterException: java.lang.NoSuchMethodException: lunae.featuredbefore.FeaturedBeforeClient.<init>()
it says a constructor is missing but that's usually something that shouldn't happen
does it work if you remove the resource pack code?
yes
i can't make any logical connection
unless the crash happens when getting the mod container
Ok so it seemed to fix itself (for some reason) but now it's not listed in the selected resource packs list (for some reason)
do you still have the resource pack registration code?
yes
where is the resource pack located?
you mean the registration code or the actual pack
actual pack
here
ok now (for some reason) it is giving me an error.