Skip to content

Commit 3bbb2dd

Browse files
committed
Update for 1.21.11
1 parent ff5d418 commit 3bbb2dd

File tree

8 files changed

+19
-15
lines changed

8 files changed

+19
-15
lines changed

gradle/build-logic/src/main/kotlin/extensions.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ val paperVersions = listOf(
4747
"1.21.8",
4848
"1.21.9",
4949
"1.21.10",
50+
"1.21.11",
5051
)
5152

5253
val productionJarAttribute = Attribute.of("minimotd.productionJar", String::class.java)

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ indra = "4.0.0"
77
shadow = "9.2.2"
88
adventure = "4.25.0"
99
adventurePlatform = "4.4.1"
10-
adventurePlatformMod = "6.7.0"
10+
adventurePlatformMod = "6.8.0"
1111
configurate = "4.2.0"
1212
slf4j = "1.7.36"
1313
gson = "2.8.0"
1414
bstats = "3.1.0"
1515
paperApiLegacy = "1.16.5-R0.1-SNAPSHOT"
16-
paperApi = "1.21.10-R0.1-SNAPSHOT"
16+
paperApi = "1.21.11-R0.1-SNAPSHOT"
1717
paperlib = "1.0.8"
1818
waterfallApi = "1.16-R0.5-SNAPSHOT"
19-
fabricApi = "0.134.1+1.21.10"
19+
fabricApi = "0.139.5+1.21.11"
2020
fabricLoader = "0.18.2"
21-
minecraft = "1.21.10"
21+
minecraft = "1.21.11"
2222
spongeApi7 = "7.2.0"
2323
velocityApi = "3.4.0-SNAPSHOT"
24-
neoforge = "21.10.1-beta"
24+
neoforge = "21.11.6-beta"
2525

2626
[plugins]
2727
blossom = { id = "net.kyori.blossom", version = "2.2.0" }

platform/fabric/src/main/java/xyz/jpenilla/minimotd/fabric/MiniMOTDFabric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public int run(final @NonNull CommandContext<CommandSourceStack> context) {
108108
BrigadierUtil.buildTree(
109109
new CommandHandler(this.miniMOTD),
110110
sourceStack -> this.audiences().audience(sourceStack),
111-
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
111+
Commands.hasPermission(Commands.LEVEL_ADMINS)
112112
)
113113
));
114114
}

platform/fabric/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"minimotd-fabric.mixins.json"
2424
],
2525
"depends": {
26-
"fabricloader": ">=0.16.14",
26+
"fabricloader": ">=0.18.2",
2727
"fabric-api": "*",
28-
"minecraft": "1.21.10",
28+
"minecraft": ">=1.21.11",
2929
"adventure-platform-fabric": "*"
3030
}
3131
}

platform/neoforge/src/main/java/xyz/jpenilla/minimotd/neoforge/MiniMOTDNeoForge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private void registerCommand() {
9292
BrigadierUtil.buildTree(
9393
new CommandHandler(this.miniMOTD),
9494
sourceStack -> this.audiences().audience(sourceStack),
95-
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
95+
Commands.hasPermission(Commands.LEVEL_ADMINS)
9696
)
9797
);
9898
});

platform/neoforge/src/main/resources/META-INF/neoforge.mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ side = "BOTH"
2323
[[dependencies.minimotd]]
2424
modId = "minecraft"
2525
type = "required"
26-
versionRange = "[1.21.10,1.22)"
26+
versionRange = "[1.21.11,)"
2727
ordering = "NONE"
2828
side = "BOTH"
2929

platform/sponge8/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,16 @@ publishMods.modrinth {
5555
modLoaders.add("sponge")
5656
minecraftVersions.addAll(
5757
"1.16.5",
58-
"1.17.1",
5958
"1.18.2",
6059
"1.19.4",
6160
"1.20.6",
61+
"1.21.1",
62+
"1.21.3",
63+
"1.21.4",
64+
"1.21.5",
65+
"1.21.8",
6266
"1.21.10",
67+
"1.21.11",
6368
)
6469
optional("miniplaceholders")
6570
}

settings.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ pluginManagement {
77
maven("https://maven.neoforged.net/releases/") {
88
mavenContent { releasesOnly() }
99
}
10-
maven("https://repo.jpenilla.xyz/snapshots/") {
11-
mavenContent { snapshotsOnly() }
12-
}
10+
maven("https://repo.jpenilla.xyz/snapshots/")
1311
}
1412
includeBuild("gradle/build-logic")
1513
}
1614

1715
plugins {
1816
id("net.neoforged.moddev.repositories") version "2.0.124" apply false
19-
id("quiet-fabric-loom") version "1.11-SNAPSHOT" apply false
17+
id("quiet-fabric-loom") version "1.13-SNAPSHOT" apply false
2018
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
2119
}
2220

0 commit comments

Comments
 (0)