How to compile Carpet Mod - gnembon/fabric-carpet GitHub Wiki

How to make a Fabric Carpet .jar file from the source

The reason you might want to do this is so that you can get the .jar file with the most recent additions/updates.

  1. Clone the branch you want to make a .jar file of onto your pc.
  2. Open the zip file and extract its contents
  3. Run the task gradlew remapJar in the directory with all the extracted files
  4. The generated .jar file should be in fabric-carpet\build\libs. In it you will see two files: image
  5. Copy the file without the -dev suffix into your mods folder, it will work!