mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
[Fabric] Update to 1.18-pre4
This commit is contained in:
parent
53559192b4
commit
953e22fc38
@ -26,7 +26,7 @@
|
||||
|
||||
plugins.withId("java") {
|
||||
the<JavaPluginExtension>().toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(16))
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user