Trying to build mod localy results in "Failed to read accessWidener file"
Hi, newbie to mod development / gradle here.
I can build the project with
./gradlew jar
(creates ./fabric/build/libs/DistantHorizons-fabric-2.3.0-b-dev-1.21.3-all.jar
) and no errors (only some deprecation warnings and on older Loom version hint) but when I start the game it instantly crashes (see minecraft.log and latest.log).
This happens for 1.21.3 and 1.21.4 (I changed mcVer
in gradle.properties
for 1.21.3)
I can download the nightly build (from the same commit I try to build locally 77aa4773
) and run it without any problems in 1.21.4.
I have already deleted ~/.gradle/cache
and .gradle
, restarted the daemon and my PC.
Am I building correctly? I see the nightly build has a different file name (missing the -all
) and is a bit bigger in size (16.7 MiB vs 16.1 MiB).
I am mainly asking because I want to try to update ResolutionControl3 to 1.21.4 but am running into the same problem thereGitHub
GitHub - IMS212/ResolutionControl-3: Change resolution of the game ...
Change resolution of the game and HUD/GUI independently. - IMS212/ResolutionControl-3
Solution:Jump to solution
I found this post leading me to the realization that I have to run
./gradlew build
to get runable .jar
files (they matching run fine and have the same size as the nightly ones now)Reddit
helpimnotdrowning's comment on "when I try to run the fabric with m...
Explore this conversation and more from the fabricmc community
1 Reply
Solution
I found this post leading me to the realization that I have to run
./gradlew build
to get runable .jar
files (they matching run fine and have the same size as the nightly ones now)Reddit
helpimnotdrowning's comment on "when I try to run the fabric with m...
Explore this conversation and more from the fabricmc community