Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wasEnabled

Members
  • Joined

  • Last visited

  1. wasEnabled changed their profile photo
  2. 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.
  3. 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.
  4. ** 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.
  5. 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?
  6. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.