[Fabric] Update to 1.18-pre4

This commit is contained in:
Octavia Togami 2021-11-18 12:16:26 -08:00
parent 53559192b4
commit 953e22fc38
No known key found for this signature in database
GPG Key ID: CC364524D1983C99
3 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@
plugins.withId("java") {
the<JavaPluginExtension>().toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
languageVersion.set(JavaLanguageVersion.of(17))
}
}

View File

@ -15,14 +15,14 @@
}
}
applyPlatformAndCoreConfiguration(javaRelease = 16)
applyPlatformAndCoreConfiguration(javaRelease = 17)
applyShadowConfiguration()
apply(plugin = "fabric-loom")
apply(plugin = "java-library")
val minecraftVersion = "1.18-pre1"
val yarnMappings = "1.18-pre1+build.6:v2"
val minecraftVersion = "1.18-pre4"
val yarnMappings = "1.18-pre3+build.5:v2"
val loaderVersion = "0.12.5"
val fabricApiConfiguration: Configuration = configurations.create("fabricApi")
@ -49,7 +49,7 @@
"modImplementation"("net.fabricmc:fabric-loader:$loaderVersion")
// [1] declare fabric-api dependency...
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.42.2+1.18")
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.42.7+1.18")
// [2] Load the API dependencies from the fabric mod json...
@Suppress("UNCHECKED_CAST")

View File

@ -49,7 +49,7 @@ public void tick() {
@Override
public Path getStoragePath(Level world) {
return storageSource.getDimensionPath(world.dimension()).toPath();
return storageSource.getDimensionPath(world.dimension());
}
@Accessor