From 0dd151fd1e49a26b581b125dc6b7ce4a5a79a69c Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Fri, 16 Jun 2023 10:07:22 -0700 Subject: [PATCH] Make regioniser more aggressively recalculate regions This is to try and prevent regions from grouping together when they really shouldn't be --- patches/server/0003-Threaded-Regions.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/0003-Threaded-Regions.patch b/patches/server/0003-Threaded-Regions.patch index 10e7613..efe2b02 100644 --- a/patches/server/0003-Threaded-Regions.patch +++ b/patches/server/0003-Threaded-Regions.patch @@ -14630,7 +14630,7 @@ index 488a253e218409b5f0b4a872cee0928578fa7582..af35fd63b090aa3d89bc60cb9cb7694b } diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index 18aac3da3c88f33b1a71a5920a8daa27e9723913..b126435b07572e7b8f41647a0179164b680e9e64 100644 +index 18aac3da3c88f33b1a71a5920a8daa27e9723913..f95f1d1bc08b3c8f331a4f760e3218238f74ff67 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java @@ -192,36 +192,35 @@ public class ServerLevel extends Level implements WorldGenLevel { @@ -14738,8 +14738,8 @@ index 18aac3da3c88f33b1a71a5920a8daa27e9723913..b126435b07572e7b8f41647a0179164b + public final io.papermc.paper.threadedregions.ThreadedRegionizer regioniser; + { + this.regioniser = new io.papermc.paper.threadedregions.ThreadedRegionizer<>( -+ 3*9, -+ (2.0 / 3.0), ++ 6, ++ (1.0 / 6.0), + 1, + 1, + io.papermc.paper.threadedregions.TickRegions.getRegionChunkShift(),