tweaks724/docs/BUILDING.md
2025-01-20 11:02:18 +01:00

644 B

  1. Download BuildTools, move it into an empty directory and open terminal

  2. Download Minecraft sources:

    java -jar BuildTools.jar --rev 1.21.4 --remapped
    
  3. Clone this repository:

    git clone https://git.m724.eu/Minecon724/tweaks724
    cd tweaks724
    
    • You might want to checkout a release:
      git checkout tags/tweaks-0.1.12
      
  4. To compile for native version:

    ./mvnw package
    

    To compile for another version:

    ./mvnw package -Dproject.craftbukkit.version=v1_21_R3 -Dproject.minecraft.version=1.21.4
    
  5. Look for tweaks-0.1.12+1.21.4.jar in target/