Cloning Repository

How to clone the WeaponMechanics repo

Since WeaponMechanics uses net.minecraft.server code, we have to have a compiled server jar for every latest Minecraft version (1.12+). After cloning the GitHub repository, navigate to:

MechanicsMain -> lib -> download-spigot-lib.bat

Running that batch file will download the latest BuildTools from Spigot and run it for each Minecraft version (<1.17). For Minecraft versions 1.17 and higher, we use paperweight, a Gradle plugin that automatically downloads the server jar. You only need to run this file once.

Afterward, I suggest running remove-craftbukkit-jars.bat and clean-buildtools.bat to delete all unnecessary downloads.

Last updated