-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forge support #83
base: dev/0.3.x
Are you sure you want to change the base?
Forge support #83
Conversation
Great work, thanks for the contribution!
Are there no other workarounds? I would ideally like to stick to the latest version of Gradle.
I will be reviewing the code later on. |
I recommend looking into https://github.com/architectury/architectury-loom instead of forgegradle. Forgegradle uses many Gradle internals, thus being incompatible with the latest version of Gradle. |
I think @warmthdawn had tried architectury-loom (if you look through this commit), but it didn't work, so he refactored the plugin to forgegradle so it could build successfully. We will continue to experiment with architecture-loom in the hopes that it will work. |
f8d329f
to
bcd8af9
Compare
13d9dc2
to
4173452
Compare
if we set shadowjar after remap, manifest will be overwrite. We can only set mixin cfg manually. |
Is this PR ready for review? Are metric issues resolved yet? |
@eaglesemanation If there is any problem when you try this branch, feel free to cantact me. |
@ExerciseBook I'm not sure if I can actually build it, I'm not that familiar with minecraft mod development. Just really excited to get metrics on my forge server =) |
@eaglesemanation Here is my TPS and MSPT expression. Maybe we are different in the metrics query. TPS
MSPT
https://grafana.com/grafana/dashboards/18584-unifiedmetrics-0-3-x-prometheus/? |
Interesting, your queries did not work for me as well, but I found out the fix - replacing $__interval with $__rate_interval worked. I'm really new to Prometheus, so I have no clue if that's an actual fix, but at least it shows something =) |
I've ran this in production for about a month now. 0 issues. Looks really good! |
Hi @ExerciseBook ! I'm trying to use this, but I'm somewhat new to the Java ecosystem. I'm following the build guide in README.md .
I'm not sure that everything would be fine if I build on OpenJDK 17, and then run on Oracle JRE 1.8.0. I don't need fabric support (the one that requires 16+) - only Forge, so 1.8 should be fine, right? Is there a way to disable building parts I don't need? |
You could try it. the build script I wrote is just a model after Dynmap's build script. so in my memory, it needs to be built on jdk17 and run on jdk8. |
@ExerciseBook I've built it with openjdk-17-jdk on Debian Bookworm. I guess I should look for the output under
How do I specify Forge-1.12.2 ? Or could it be that 1.18.2 is the only one supported?
|
@dark-penguin I look a glance on my code. Only the 1.18.2 is available. 1.12.2 is stuck on buildscript, I didn’t find a way to pack it up yet. So maybe you could try to workout it. I am very appreciate that you could help me to solve this problem. |
Normally, I would be happy to try, but as you can see, with Java I'm barely able to build something by following instructions. 🙂 But just in case, what should I do to initiate an 1.12.2 build? Is it possible to build only that, without the other targets? |
I am so sorry for my late response, I was busy yesterday. In fact, I didn't successfully build 1.12.2 ever. So maybe you could try to find the way out. |
I tried to compile this for 1.19.2 but I keep getting the error |
Notice Forge support is still under developing.
link to #40
Preview
Test on our FTB Stone Block3 server.
Something need to discuss
Feel free to code review, we are trying to make it better.