Hydrology Fix, and V+

This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-15 23:01:56 -04:00
1 parent dfb3748059
commit 1e1eaa96aa
137 files changed
+8842 -711

No files matched your search

@@ -102,6 +102,7 @@ public final class ModdedEngineBootstrap {
// closed, MultiBurst falls back to a same-thread executor, so a second world load
// without reopen() would silently run every burst inline.
MultiBurst.burst.reopen();
MultiBurst.hydrology.reopen();
MultiBurst.ioBurst.reopen();
ModdedScheduler scheduler = schedulerOrNull();
if (scheduler != null) {
@@ -189,10 +190,9 @@ public final class ModdedEngineBootstrap {
failure = runStopStage(failure, "level snapshot", ModdedServerLevels::forget);
}
failure = runStopStage(failure, "generation pool", IrisModdedChunkGenerator::shutdownGenPool);
failure = runStopStage(failure, "burst pools", () -> {
MultiBurst.burst.close();
MultiBurst.ioBurst.close();
});
failure = runStopStage(failure, "generation burst pool", MultiBurst.burst::close);
failure = runStopStage(failure, "hydrology burst pool", MultiBurst.hydrology::close);
failure = runStopStage(failure, "I/O burst pool", MultiBurst.ioBurst::close);
failure = runStopStage(failure, "startup state", ModdedStartup::reset);
failure = runStopStage(failure, "server state", () -> {
currentServer = null;