mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
MC 1.19.1 (#2159)
* [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:
parent
70d70f906f
commit
9ef6e5bd81
@ -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");
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user