tweaks724/docs/BUILDING.md
2025-01-20 12:12:12 +01:00

32 lines
No EOL
751 B
Markdown

First, download NMS. There are two ways:
- Use `tools/download_nms.sh`
- Download BuildTools, move it into an empty directory and run:
```
java -jar BuildTools.jar --rev 1.21.4 --remapped
```
You must run this for every version you want to build for.
Then build the plugin:
1. 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
```
2. For the "native" version:
```
./mvnw package
```
For another compatible version:
```
./mvnw package -Dproject.craftbukkit.version=v1_21_R3 -Dproject.minecraft.version=1.21.4
```
Look for `tweaks-0.1.12+1.21.4.jar` in `target/`