Suggestion: Documentation on how to compile Carpet
alexis-evelyn opened this issue ยท 9 comments
I've tried compiling the 1.16 branch of this repo and while successful, Fabric doesn't like it because the access widener file is set to named and not intermediary. I've tried to pull the access widener file from the existing release of the rc.1 jar and have even tried changing named to intermediary of the access widener file that came from the 1.16 branch, however, gradle does not want to compile it after I make any changes to the file. I'm not sure how to modify the file so I can produce a jar that can work with fabric.
https://github.com/gnembon/fabric-carpet/wiki/How-to-compile-Carpet-Mod
@alexis-evelyn good enough?Almost, there is no mentioning how to build for a different Minecraft version, i downloaded the master to see if i could get Optifine to work for 1.18, however if i do ./gradlew remapJar it only builds the 1.17.1 version
For whatever reason 1.18 source files don't exist.
(edited the comment because I realized his comment was made before the 22w03a (1.4.58) update existed)
https://github.com/gnembon/fabric-carpet/wiki/How-to-compile-Carpet-Mod
@alexis-evelyn good enough?
Almost, there is no mentioning how to build for a different Minecraft version, i downloaded the master to see if i could get Optifine to work for 1.18, however if i do ./gradlew remapJar it only builds the 1.17.1 version
I tried to update .properties & build.grade according to: https://fabricmc.net/versions.html
No luck, after that the compiler complains about: "Unsupported access widener format (v2)"
So yeah, a small extension to that help doc could be how to compile a version that differs from the default
I figured out it was remapJar I needed to run to build a functional version of carpet. It looks to be working properly as I can use carpet even while in a custom dimension.
I suggest specifying to compile with remapJar through gradle on the ReadMe documentation. Thanks!
Its a general guidelines on how to compile other fabric mods - carpet has nothing unique about its process, but a few tips on how to do that would be a great addition to the wiki
https://github.com/gnembon/fabric-carpet/wiki/How-to-compile-Carpet-Mod
@alexis-evelyn good enough?