* [Fabric] Bump versions to 1.19.1.

No code changes needed.

* [Bukkit] Add 1.19.1 DV to 1.19 adapter.

No mapping changes. Devbundle left untouched for now.

* [Forge] Bump versions to MC 1.19.1.
This commit is contained in:
wizjany 2022-07-30 01:30:27 -04:00 committed by GitHub
parent 70d70f906f
commit 9ef6e5bd81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -179,8 +179,8 @@ public PaperweightAdapter() throws NoSuchFieldException, NoSuchMethodException {
CraftServer.class.cast(Bukkit.getServer());
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
if (dataVersion != 3105) {
throw new UnsupportedClassVersionError("Not 1.19!");
if (dataVersion != 3105 && dataVersion != 3117) {
throw new UnsupportedClassVersionError("Not 1.19(.1)!");
}
serverWorldsField = CraftServer.class.getDeclaredField("worlds");

View File

@ -21,8 +21,8 @@
apply(plugin = "fabric-loom")
apply(plugin = "java-library")
val minecraftVersion = "1.19"
val loaderVersion = "0.14.6"
val minecraftVersion = "1.19.1"
val loaderVersion = "0.14.8"
val fabricApiConfiguration: Configuration = configurations.create("fabricApi")
@ -48,7 +48,7 @@
"modImplementation"("net.fabricmc:fabric-loader:$loaderVersion")
// [1] declare fabric-api dependency...
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.55.1+1.19")
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.58.5+1.19.1")
// [2] Load the API dependencies from the fabric mod json...
@Suppress("UNCHECKED_CAST")

View File

@ -12,11 +12,11 @@
applyPlatformAndCoreConfiguration(javaRelease = 17)
applyShadowConfiguration()
val minecraftVersion = "1.19"
val minecraftVersion = "1.19.1"
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
"$useless.${major.toInt() + 1}"
}
val forgeVersion = "41.1.0"
val forgeVersion = "42.0.0"
val apiClasspath = configurations.create("apiClasspath") {
isCanBeResolved = true