Support: Built from sources crash the game on Release only #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Solution
I just found out why it didn't work:
I was using the files built using Vscode, but looking at your Jenkins builds, I found you run
./gradlew build javadoc publish
and simply running this command on my side built the mod correctly and gave me a ready to use jar file.So it really was a beginner mistake, I'll keep Vscode to try my modifications but will surely use gradlew to build it for release :)
Addition
To the guy who will come across this issue while Googling an error, if you're using Vscode please STOP right now and switch to IntelliJ IDEA. Vscode is a pain in the ass to get to work correctly and is very inconsistent (will build, won't build after rebooting, ...).
IntelliJ works right out of the box if you follow the guide on the Fabric Wiki and is so much easier to use. It just works!
Original post
Hi. First I really like your mod but I wanted to edit it a little bit to fit my needs :)
This is rather asking for help than a real issue, your release from Curseforge works just fine.
I'm having trouble building correctly SorceryCraft and I was hoping you could give me some tips.
fabric-api-0.17.0+build.386-1.16.1
(also triedfabric-api-0.13.1+build.370-1.16
)Visual Studio Code
as IDEAs soon as I put the build into a jar file and drop it in my mods folder, the game crash on launch.
It's so frustrating to see everything working well inside Minecraft in debug mode and not on release ><
I also tried to build from these sources without modifying the code but no success.
I spent the last two days on this, I'm running out of idea...
The game crashs as it starts (only
SorceryCraft
andfabric-api
are installed):Here is the full log:
I started over from the example mod, editing and replacing files to fit SorceryCraft and it will crash when I add the classes and setup the entrypoints in
fabric.mod.json
.I know you've made an API and honestly I wanted to use it but I need to change some core features (craft "price", projectile speed, implementing water collision detection and such).