florensie / ExpandAbility

Minecraft library mod that provides increased control over vanilla effects and abilities
MIT License
4 stars 4 forks source link

Error starting built mod using expandability as a dependency #8

Closed Kuikenpower35 closed 1 year ago

Kuikenpower35 commented 1 year ago

So I have a mod that adds a few items to minecraft. When starting it in my ide(eclipse) using runClient it works perfectly fine, but if I build it to a jar file and start it with the minecraft launcher I get an error that mentions this dependency. How would I fix this? Thanks in advance! crash-2023-06-22_16.48.24-fml.txt

florensie commented 1 year ago

Your log suggests expandability is not on your runtime classpath, and does not show in the modlist. Make sure that you have the expandability jar in your mods folder, or include it in your mod as a JarJar dependency.

Also, you should add the dependency to your mods.toml so your users get a clear error message if it is missing instead of this crash.

Kuikenpower35 commented 1 year ago

Thanks for the quick answer, though I do have expandability 7.0.0 installed. Is there something else you think could be wrong? I will also try to redownload it tomorrow just to be sure.

Kuikenpower35 commented 1 year ago

You have stupid people and then you have me... I downloaded the fabric version by accident, while I am using forge. Thanks for your answer anyway and sorry to take up your time!