Skip to content

Instantly share code, notes, and snippets.

@embeddedt
Created August 1, 2021 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save embeddedt/17bde2fa051f44131e48f6c12c85485f to your computer and use it in GitHub Desktop.
Save embeddedt/17bde2fa051f44131e48f6c12c85485f to your computer and use it in GitHub Desktop.
Tips when experiencing errors while modding for FabricMC

net.minecraft classes missing after switching Minecraft versions in Gradle configs

Run the following commands for Linux. These will need to be adapted for other OSes.

$ rm -rf ~/.gradle/caches/fabric-loom/
$ ./gradlew --refresh-dependencies build

This seems to force Loom to do the decompilation process again which fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment