Skip to content

Commit

Permalink
feat: added 1.21.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
brainsynder-Dev committed Aug 9, 2024
1 parent 79f1d56 commit d655544
Show file tree
Hide file tree
Showing 5 changed files with 597 additions and 13 deletions.
109 changes: 109 additions & 0 deletions nms/version-1.21.1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>simplepets.brainsynder</groupId>
<artifactId>SimplePets</artifactId>
<version>1</version>
<relativePath>../../</relativePath>
</parent>

<artifactId>Version_1.21.1</artifactId>
<version>${revision}</version>

<properties>
<java.version>21</java.version>

<minecraft.version>1.21.1</minecraft.version>
<current-module.version>v1_21_1</current-module.version>
<current-module.nms>v1_21_R1</current-module.nms>

<spigot.version>${minecraft.version}-R0.1-SNAPSHOT</spigot.version>
<module.info>-${minecraft.version}</module.info>
</properties>

<build>
<sourceDirectory>src/</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
<version>${specialsource.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-obf</id>
<configuration>
<srgIn>org.spigotmc:minecraft-server:${spigot.version}:txt:maps-mojang</srgIn>
<reverse>true</reverse>
<remappedDependencies>org.spigotmc:spigot:${spigot.version}:jar:remapped-mojang</remappedDependencies>
<remappedArtifactAttached>true</remappedArtifactAttached>
<remappedClassifierName>remapped-obf</remappedClassifierName>
</configuration>
</execution>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-spigot</id>
<configuration>
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:${spigot.version}:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:${spigot.version}:jar:remapped-obf</remappedDependencies>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>${spigot.version}</version>
<classifier>remapped-mojang</classifier>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>simplepets.brainsynder</groupId>
<artifactId>API</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>simplepets.brainsynder</groupId>
<artifactId>MAIN</artifactId>
<version>${revision}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>anvil.brainsynder</groupId>
<artifactId>anvilgui</artifactId>
</exclusion>
<exclusion>
<groupId>com.jeff_media</groupId>
<artifactId>SpigotUpdateChecker</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>simplepets.brainsynder</groupId>
<artifactId>NMS_Master</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit d655544

Please sign in to comment.