Jump to content

wasEnabled

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

wasEnabled's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks Choonster, I thought I was going crazy with sometimes the .jar in the builds/libs working and other times not. I verified that all I need to do is run the Tasks > build > build and then obtain the correctly named .jar from the build/libs folder. I had mistakenly assumed that I needed to run the Tasks > build > jar to generate a release .jar file, but that was incorrect and only created a non reObfJar file because it was skipping the reObfJar step.
  2. So, to clarify, for anyone else who finds this post. What I was doing incorrectly was that was using Tasks > build > build but I was taking the .jar file from my /build/libs folder, which is named after my modid (so in my case it's named justfileapi-1.0.jar), but this is a pre-re-obfuscated version of the jar. In the /builds/reobfJar/ folder however there is an "output.jar" file which is my re-obfuscated .jar file -- this is the final version which I manually renamed and deployed.
  3. ** SOLVED ** Thank-you Ommina, yes, it was the "reObfJar" task that was missing. Once I ran the "reObfJar", under Tasks > other >reobfJar and checked the ./build/reobfJar/ folder I discovered an "output.jar" file. I renamed that to my mod name, placed it in the the mod folder and it worked. For anyone else who mistakenly takes the .jar from the /build/libs folder without first re-obfuscating it then you may encounter a mismatch between the libraries like I did.
  4. Thank-you Ommina, I've created my .jar via the Gradle Tool Window in IntelliJ: Tasks > build > jar Did I miss a step? I see "reobfJar" under: Tasks > other > reobfJar... but I've never run that. Do I need to?
  5. I can run the mod via "runClient" and "runServer" but as soon as I build a jar and copy the .jar file from ./build/libs/ into either a Forge 1.15.1 client or server I get a "NoSuchMethod" error crash report (see below). My read of the crash report is that my "register" method is improperly formed somehow... but I can't reconcile why it works with "runClient" and "runServer" in IntelliJ but not as a .jar file where it fails on both client and server with the same "NoSuchMethodError". I suspect this is a versioning issue somewhere but I'm at a loss for what to test or change. Is this related to the "mappings" in build.gradle, for example, currently I'm using the default: mappings channel: 'snapshot', version: '20190719-1.14.3' Crash report: Github link to project:https://github.com/xmoduslearning/JustFileAPI
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.