From 648de5f63e1ba83af67fc01477cd6f35ca3c6630 Mon Sep 17 00:00:00 2001 From: AltronMaxX Date: Mon, 15 Apr 2024 23:00:04 +0400 Subject: [PATCH] update folia --- gradle/wrapper/gradle-wrapper.properties | 2 +- patches/server/0005-Add-config.patch | 16 ---------------- patches/server/0014-Linear-Region-Format.patch | 10 +++++----- ...ish-Cache-climbing-check-for-activation.patch | 6 +++--- ...-Pufferfish-Dynamic-Activation-of-Brain.patch | 8 ++++---- settings.gradle.kts | 2 +- 6 files changed, 14 insertions(+), 30 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a80b22c..b82aa23 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/patches/server/0005-Add-config.patch b/patches/server/0005-Add-config.patch index db5bcef..826e6d9 100644 --- a/patches/server/0005-Add-config.patch +++ b/patches/server/0005-Add-config.patch @@ -4,22 +4,6 @@ Date: Sat, 16 Sep 2023 21:20:41 +0400 Subject: [PATCH] Add-config -diff --git a/build.gradle.kts b/build.gradle.kts -index 0b66ac537a56f907022f615c47ea970c7b26bbf3..f2c473a22cf33a1783f7daec578da5b08caf4878 100644 ---- a/build.gradle.kts -+++ b/build.gradle.kts -@@ -213,9 +213,9 @@ val runtimeClasspathForRunDev = sourceSets.main.flatMap { src -> - elements.filterNot { file -> file.asFile.endsWith("minecraft.jar") } - } - } --tasks.registerRunTask("runDev") { -+/*tasks.registerRunTask("runDev") { - description = "Spin up a non-relocated Mojang-mapped test server" - classpath(tasks.filterProjectDir.flatMap { it.outputJar }) - classpath(runtimeClasspathForRunDev) - jvmArgs("-DPaper.isRunDev=true") --} -+}*/ diff --git a/src/main/java/net/edenor/foldenor/config/FoldenorConfig.java b/src/main/java/net/edenor/foldenor/config/FoldenorConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..748a78a092067ccb2c9ebb650860765180703b8f diff --git a/patches/server/0014-Linear-Region-Format.patch b/patches/server/0014-Linear-Region-Format.patch index 6b98599..92c14f9 100644 --- a/patches/server/0014-Linear-Region-Format.patch +++ b/patches/server/0014-Linear-Region-Format.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Linear-Region-Format diff --git a/build.gradle.kts b/build.gradle.kts -index f2c473a22cf33a1783f7daec578da5b08caf4878..d64d011fa8d2dcd566fc173493d6be947115bb24 100644 +index 4c01b60d00f5809dc36c0a6500b2abe3fa58fefd..19a70552d738cad8750547c10be550e223a9a9e1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,6 +19,8 @@ dependencies { @@ -645,7 +645,7 @@ index 0000000000000000000000000000000000000000..7492271e263bba9d302ef1d074e983c9 + } +} diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 8cc74922fb00a1975dfb9bd2af8972c7afcfdb14..95d3ae694ad6f50d91a00b99f7b3e44fa1f2f1e6 100644 +index 34c145e343faff682c2a2d37c784fa8ba800b198..3bec684803e2d64457891ed4b987f04ad5a6c7cb 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -923,7 +923,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop