diff --git a/mc-source-code/decompile.sh b/mc-source-code/decompile.sh index e7ccaa9c6..85bf2c129 100755 --- a/mc-source-code/decompile.sh +++ b/mc-source-code/decompile.sh @@ -19,4 +19,12 @@ cd DecompilerMC python3.12 main.py -mcv $MC_VERSION -s server -na -f -rmap -rjar -dm -dj -dd -dec -q -c # move it to the correct directory -mv src .. \ No newline at end of file +mv src .. +cd .. + +# move the custom made pom.xml +cp pom.xml src/$MC_VERSION/server + +# install the dependencies +cd ../src/$MC_VERSION/server +# mvn clean install \ No newline at end of file diff --git a/mc-source-code/pom.xml b/mc-source-code/pom.xml new file mode 100644 index 000000000..e051d6cc7 --- /dev/null +++ b/mc-source-code/pom.xml @@ -0,0 +1,12 @@ + + 4.0.0 + + com.mojang + minecraft-server + 1.21 + + + + \ No newline at end of file