Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba90815
commit c1553a9
Showing
135 changed files
with
691 additions
and
10,499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,8 @@ dependency-reduced-pom.xml | |
|
||
#IntelliJ | ||
.idea | ||
|
||
#Gradle | ||
.gradle | ||
classes | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
plugins { | ||
`maven-publish` | ||
`java-library` | ||
id("io.papermc.paperweight.userdev") version "1.5.13" | ||
} | ||
|
||
group = "de.cubeside.nmsutils" | ||
version = "0.0.1-SNAPSHOT" | ||
description = "nms adapter" | ||
|
||
repositories { | ||
mavenLocal() | ||
} | ||
|
||
java { | ||
// Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example. | ||
toolchain.languageVersion = JavaLanguageVersion.of(17) | ||
} | ||
|
||
dependencies { | ||
implementation(project(":core")) | ||
// implementation("de.cubeside.nmsutils:nmsutils-core:0.0.1-SNAPSHOT") | ||
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT") | ||
// paperweight.foliaDevBundle("1.20.4-R0.1-SNAPSHOT") | ||
// paperweight.devBundle("com.example.paperfork", "1.20.4-R0.1-SNAPSHOT") | ||
} | ||
|
||
tasks { | ||
// Configure reobfJar to run when invoking the build task | ||
assemble { | ||
dependsOn(reobfJar) | ||
} | ||
|
||
compileJava { | ||
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything | ||
|
||
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable. | ||
// See https://openjdk.java.net/jeps/247 for more information. | ||
options.release = 17 | ||
} | ||
javadoc { | ||
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything | ||
} | ||
|
||
/* | ||
reobfJar. { | ||
// This is an example of how you might change the output location for reobfJar. It's recommended not to do this | ||
// for a variety of reasons, however it's asked frequently enough that an example of how to do it is included here. | ||
outputJar = layout.buildDirectory.file("libs/PaperweightTestPlugin-${project.version}.jar") | ||
} | ||
*/ | ||
} | ||
|
||
publishing { | ||
publications { | ||
create<MavenPublication>("maven") { | ||
artifact(tasks.reobfJar) | ||
groupId = "de.cubeside.nmsutils" | ||
artifactId = "nmsutils-paper1_20_4" | ||
version = "0.0.1-SNAPSHOT" | ||
|
||
from(components["java"]) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...de/nmsutils/v1_20_R1/CompoundTagImpl.java → ...nmsutils/paper1_20_4/CompoundTagImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...beside/nmsutils/v1_20_R2/ListTagImpl.java → ...ide/nmsutils/paper1_20_4/ListTagImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eside/nmsutils/v1_19_R3/NMSUtilsImpl.java → ...de/nmsutils/paper1_20_4/NMSUtilsImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eside/nmsutils/v1_19_R3/NbtUtilsImpl.java → ...de/nmsutils/paper1_20_4/NbtUtilsImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...athfinderGoalLimitedRandomStrollLand.java → ...athfinderGoalLimitedRandomStrollLand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
plugins { | ||
`maven-publish` | ||
`java-library` | ||
id("io.papermc.paperweight.userdev") version "1.5.13" | ||
} | ||
|
||
group = "de.cubeside.nmsutils" | ||
version = "0.0.1-SNAPSHOT" | ||
description = "nms adapter" | ||
|
||
repositories { | ||
mavenLocal() | ||
} | ||
|
||
java { | ||
// Configure the java toolchain. This allows gradle to auto-provision JDK 17 on systems that only have JDK 8 installed for example. | ||
toolchain.languageVersion = JavaLanguageVersion.of(17) | ||
} | ||
|
||
dependencies { | ||
implementation(project(":core")) | ||
// implementation("de.cubeside.nmsutils:nmsutils-core:0.0.1-SNAPSHOT") | ||
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT") | ||
// paperweight.foliaDevBundle("1.20.4-R0.1-SNAPSHOT") | ||
// paperweight.devBundle("com.example.paperfork", "1.20.4-R0.1-SNAPSHOT") | ||
} | ||
|
||
tasks { | ||
// Configure reobfJar to run when invoking the build task | ||
assemble { | ||
dependsOn(reobfJar) | ||
} | ||
|
||
compileJava { | ||
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything | ||
|
||
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable. | ||
// See https://openjdk.java.net/jeps/247 for more information. | ||
options.release = 17 | ||
} | ||
javadoc { | ||
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything | ||
} | ||
|
||
/* | ||
reobfJar. { | ||
// This is an example of how you might change the output location for reobfJar. It's recommended not to do this | ||
// for a variety of reasons, however it's asked frequently enough that an example of how to do it is included here. | ||
outputJar = layout.buildDirectory.file("libs/PaperweightTestPlugin-${project.version}.jar") | ||
} | ||
*/ | ||
} | ||
publishing { | ||
publications { | ||
create<MavenPublication>("maven") { | ||
artifact(tasks.reobfJar) | ||
groupId = "de.cubeside.nmsutils" | ||
artifactId = "nmsutils-" + project.name | ||
version = "0.0.1-SNAPSHOT" | ||
|
||
from(components["java"]) | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
plugins { | ||
`maven-publish` | ||
`java-library` | ||
id("io.papermc.paperweight.userdev") version "1.5.13" apply false | ||
} | ||
|
||
group = "de.cubeside.nmsutils" | ||
version = "0.0.1-SNAPSHOT" | ||
description = "nms adapter" | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
java { | ||
toolchain.languageVersion = JavaLanguageVersion.of(17) | ||
} | ||
|
||
dependencies { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins { | ||
`java-library` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://repo.papermc.io/repository/maven-public/") | ||
maven("https://maven.fabricmc.net/") | ||
} | ||
|
||
dependencies { | ||
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") | ||
implementation("net.fabricmc:mapping-io:0.3.0") | ||
} | ||
|
||
java { | ||
toolchain.languageVersion.set(JavaLanguageVersion.of(17)) | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.