tweaks724/docs/BUILDING.md

32 lines
751 B
Markdown
Raw Normal View History

2025-01-20 12:12:12 +01:00
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:
2025-01-20 11:02:18 +01:00
2025-01-20 12:12:12 +01:00
1. Clone this repository:
2025-01-20 11:02:18 +01:00
```
git clone https://git.m724.eu/Minecon724/tweaks724
cd tweaks724
```
- You might want to `checkout` a release:
```
git checkout tags/tweaks-0.1.12
```
2025-01-20 12:12:12 +01:00
2. For the "native" version:
2025-01-20 11:02:18 +01:00
```
./mvnw package
```
2025-01-20 12:12:12 +01:00
For another compatible version:
2025-01-20 11:02:18 +01:00
```
./mvnw package -Dproject.craftbukkit.version=v1_21_R3 -Dproject.minecraft.version=1.21.4
```
2025-01-20 12:12:12 +01:00
Look for `tweaks-0.1.12+1.21.4.jar` in `target/`