Closed Terebo closed 10 months ago
i might just switch to fabric just for this
but if you can please do forge
Is there A way to download this?, idk anything much about how github works
Is there A way to download this?, idk anything much about how github works
@Mr-Jokes-3 You have to download the code and compile it your self. for now ...
@Terebo
Since "multiloader" support is being developed couldn't you use Architectury so the mod will work on both forge and fabric without having two separate branches.
Will need to check on the stability of this with @jenchanws before merging, and it would need to be merged into its own 1.20 branch.
Is there A way to download this?, idk anything much about how github works
@Mr-Jokes-3 You have to download the code and compile it your self. for now ...
How do I compile it? I don't see any Makefile
nor any instructions. (Sorry if it is obvious, I don't develop in Java)
Is there A way to download this?, idk anything much about how github works
@Mr-Jokes-3 You have to download the code and compile it your self. for now ...
How do I compile it? I don't see any
Makefile
nor any instructions. (Sorry if it is obvious, I don't develop in Java)
@Mr-Jokes-3 You need to make sure you have Java installed (which I guess you do) and run ./gradlew jar
if that doesn't work run ./gradlew build
. A directory called libs
inside a 'build' one would be produced, inside that libs
one the actual jar would exist. If you get a permission denied error when running ./graldew
you may need to chmod +x ./gradlew
.
A makefile would not hurt if you want to collaborate ;)
Sorry, but I don't know how to create a makefile for Java programs.
Anyways, I just built and tested this. and nothing seems broken. The test suite was very basic, consisting of only these mods:
gradlew.bat build
, version non-slimI tested all features of the map (tracks, trains, stations, signals, track occupancy, portals). The logs didn't show any deviation from norm and overall there aren't any visual glitches or significant delay either. Simply works as intended out of the box.
In my opinion, after a more in-depth testing that I don't have time nor knowledge to do, it should be ready for release.
@creeper6530 Nice! Also, creating a Makefile for Java is just like creating a Makefile for c / c+.
This one might work. Just place a new Makefile into the directory where you cloned the code into.
build:
./gradlew build
jar:
./gradlew jar
After forking the main repo and merging Terebo's changes into it, building the mod and plugging it into a copy of decent-sized modpack (32 mods, ranging from large to small additions), I had it run on my single-player world no problem. I feel confident saying that it is just as stable as 1.19 version.
Even though I'm not 100% sure, it will probably be stable on dedicated server too. It would be really great from @jenchanws to finally review this PR and merge it.
Thank you @Terebo for this - @jenchanws has now updated this on a new branch so I'll close this PR
bumped to 1.20.1 (fabric). It might be unstable as all i did was change the numbers to work for 1.20.1. I haven't noticed anything unusual in the limited time i've tried it, so it should be good enough