mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Bump version numbers and stuff for 1.18 release.
This commit is contained in:
parent
979b522738
commit
6760ad7115
@ -1,14 +1,5 @@
|
||||
applyPaperweightAdapterConfiguration()
|
||||
|
||||
repositories {
|
||||
// For now, dev-bundle comes from mavenLocal.
|
||||
mavenLocal {
|
||||
content {
|
||||
includeGroup("io.papermc.paper")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
paperDevBundle("1.18-rc3-R0.1-SNAPSHOT")
|
||||
paperDevBundle("1.18-R0.1-20211130.164241-2")
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ public PaperweightAdapter() throws NoSuchFieldException, NoSuchMethodException {
|
||||
CraftServer.class.cast(Bukkit.getServer());
|
||||
|
||||
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
|
||||
if (dataVersion != 2858) { // 1.18 release should be 2859
|
||||
if (dataVersion != 2860) {
|
||||
throw new UnsupportedClassVersionError("Not 1.18!");
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
"compileOnly"("io.papermc.paper:paper-api:1.17-R0.1-SNAPSHOT") {
|
||||
exclude(group = "org.slf4j", module = "slf4j-api")
|
||||
}
|
||||
"implementation"("io.papermc:paperlib:1.0.8-SNAPSHOT")
|
||||
"implementation"("io.papermc:paperlib:1.0.7")
|
||||
"compileOnly"("com.sk89q:dummypermscompat:1.10")
|
||||
"implementation"("org.bstats:bstats-bukkit:2.1.0")
|
||||
"implementation"("it.unimi.dsi:fastutil")
|
||||
|
@ -21,9 +21,9 @@
|
||||
apply(plugin = "fabric-loom")
|
||||
apply(plugin = "java-library")
|
||||
|
||||
val minecraftVersion = "1.18-pre4"
|
||||
val yarnMappings = "1.18-pre3+build.5:v2"
|
||||
val loaderVersion = "0.12.5"
|
||||
val minecraftVersion = "1.18"
|
||||
val yarnMappings = "1.18+build.1:v2"
|
||||
val loaderVersion = "0.12.6"
|
||||
|
||||
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.7+1.18")
|
||||
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.43.1+1.18")
|
||||
|
||||
// [2] Load the API dependencies from the fabric mod json...
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
|
Loading…
Reference in New Issue
Block a user