#Help with an error about built in resource packs.

19 messages · Page 1 of 1 (latest)

jade parrot
#

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.

cunning chasm
#

the error doesn't point to the resource pack registration code

jade parrot
#

The what does it point to?

#

I don't really understand what is written in the crash report.

cunning chasm
#

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?

jade parrot
#

yes

cunning chasm
#

i can't make any logical connection

#

unless the crash happens when getting the mod container

jade parrot
#

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)

cunning chasm
#

do you still have the resource pack registration code?

jade parrot
#

yes

cunning chasm
#

where is the resource pack located?

jade parrot
#

you mean the registration code or the actual pack

cunning chasm
#

actual pack

jade parrot
jade parrot
#

here

jade parrot
#

ok now (for some reason) it is giving me an error.