diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml
index 6e1abd9..b255a10 100644
--- a/.forgejo/workflows/build.yml
+++ b/.forgejo/workflows/build.yml
@@ -19,10 +19,10 @@ jobs:
run: mkdir artifact && mvn clean package && mv target/tweaks-*+1.21.1.jar artifact/
- name: Build for 1.21.3
- run: find src \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s/v1_21_R1/v1_21_R2/g" && mvn clean package -Dproject.minecraft.version=1.21.3 && mv target/tweaks-*+1.21.3.jar artifact/
+ run: mvn clean package -Dproject.minecraft.version=1.21.3 -Dproject.nms.version=v1_21_R2 && mv target/tweaks-*+1.21.3.jar artifact/
- name: Build for 1.21.4
- run: find src \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s/v1_21_R2/v1_21_R3/g" && mvn clean package -Dproject.minecraft.version=1.21.4 && mv target/tweaks-*+1.21.4.jar artifact/
+ run: mvn clean package -Dproject.minecraft.version=1.21.4 -Dproject.nms.version=v1_21_R3 && mv target/tweaks-*+1.21.4.jar artifact/
diff --git a/pom.xml b/pom.xml
index a965a93..3e08eb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,6 +16,8 @@
21
21
UTF-8
+
+ v1_21_R1
1.21.1
${project.minecraft.version}-R0.1-SNAPSHOT
@@ -29,6 +31,31 @@
+
+ com.google.code.maven-replacer-plugin
+ replacer
+ 1.5.3
+
+
+ generate-sources
+
+ replace
+
+
+
+
+
+ src/**
+
+
+
+ v1_21_R1
+ ${project.nms.version}
+
+
+
+
+
org.apache.maven.plugins
maven-shade-plugin
@@ -59,7 +86,6 @@
-
net.md-5
specialsource-maven-plugin