Skip to content

Commit 2d79ea7

Browse files
committed
feat: initial 1.21.11 support (pre3)
1 parent d9e836c commit 2d79ea7

File tree

7 files changed

+27
-35
lines changed

7 files changed

+27
-35
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildSrc/src/main/kotlin/paperweight-conventions.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ plugins {
22
id("standard-conventions")
33
}
44

5-
repositories {
6-
maven("https://maven-prs.papermc.io/Paper/pr13194") {
7-
name = "Maven for PR #13194" // https://github.com/PaperMC/Paper/pull/13194
8-
mavenContent {
9-
includeModule("io.papermc.paper", "dev-bundle")
10-
includeModule("io.papermc.paper", "paper-api")
11-
}
12-
}
13-
}
14-
155
dependencies {
166
compileOnly(project(":api"))
177
compileOnly(libs.bundles.shadedLibrary)

core/src/main/java/kr/toxicity/model/BetterModelLibrary.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@ public final class BetterModelLibrary {
3838
"bstats-base"
3939
)
4040
);
41-
public static final LibraryData CLOUD = register(
42-
"org{}incendo",
43-
"cloud-paper",
44-
builder -> builder
45-
.subModules(
46-
"cloud-brigadier",
47-
"cloud-bukkit"
48-
)
49-
.relocation("org{}incendo{}cloud")
50-
);
51-
public static final LibraryData CLOUD_CORE = register(
52-
"org{}incendo",
53-
"cloud-core",
54-
builder -> builder
55-
.subModules(
56-
"cloud-services"
57-
)
58-
.relocation("org{}incendo{}cloud")
59-
);
41+
// public static final LibraryData CLOUD = register( TODO add this when cloud-paper 2.0.0-beta.14 is released
42+
// "org{}incendo",
43+
// "cloud-paper",
44+
// builder -> builder
45+
// .subModules(
46+
// "cloud-brigadier",
47+
// "cloud-bukkit"
48+
// )
49+
// .relocation("org{}incendo{}cloud")
50+
// );
51+
// public static final LibraryData CLOUD_CORE = register(
52+
// "org{}incendo",
53+
// "cloud-core",
54+
// builder -> builder
55+
// .subModules(
56+
// "cloud-services"
57+
// )
58+
// .relocation("org{}incendo{}cloud")
59+
// );
6060
public static final LibraryData GEANTYREF = register(
6161
"io{}leangen{}geantyref",
6262
"geantyref",

core/src/main/kotlin/kr/toxicity/model/BetterModelProperties.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import kr.toxicity.model.util.warn
2525
import org.bstats.bukkit.Metrics
2626
import org.bukkit.Bukkit
2727

28-
private typealias Latest = kr.toxicity.model.nms.v1_21_R6.NMSImpl
28+
private typealias Latest = kr.toxicity.model.nms.v1_21_R7.NMSImpl
2929

3030
internal class BetterModelProperties(
3131
private val plugin: AbstractBetterModelPlugin

gradle/libs.versions.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ shadow = "9.2.2"
77
minotaur = "2.8.10"
88
hangarPublish = "0.1.3"
99

10-
cloud = "2.0.0-beta.13"
10+
cloud = "2.0.0-SNAPSHOT" #TODO set this to 2.0.0-beta.14 when cloud-paper 2.0.0-beta.14 is released
1111
cloud-core = "2.0.0"
1212

1313
[libraries]
@@ -49,8 +49,8 @@ manifestLibrary = [
4949
"kotlin",
5050
"bStats",
5151
"molangCompiler",
52-
"cloud-paper",
53-
"cloud-core",
52+
# "cloud-paper", TODO add remove this when cloud-paper 2.0.0-beta.14 is released
53+
# "cloud-core",
5454
"geantyref",
5555
"adventure-api",
5656
"adventure-examination",
@@ -61,6 +61,7 @@ manifestLibrary = [
6161
shadedLibrary = [
6262
"armormodel",
6363
"sharedPackets",
64+
"cloud-paper", #TODO remove this when cloud-paper 2.0.0-beta.14 is released
6465
"libby"
6566
]
6667

plugin/paper/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
shade(project(":nms:v1_21_R4")) { isTransitive = false }
1717
shade(project(":nms:v1_21_R5")) { isTransitive = false }
1818
shade(project(":nms:v1_21_R6")) { isTransitive = false }
19-
//shade(project(":nms:v1_21_R7")) { isTransitive = false }
19+
shade(project(":nms:v1_21_R7")) { isTransitive = false }
2020
}
2121

2222
modrinth {

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ include(
1919
"nms:v1_21_R4",
2020
"nms:v1_21_R5",
2121
"nms:v1_21_R6",
22-
//"nms:v1_21_R7",
22+
"nms:v1_21_R7",
2323
"test-plugin"
2424
)

0 commit comments

Comments
 (0)