mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
Replace world modes with one generation path through the module pipelines
EngineGeneration replaces the engine mode: it generates the mantle around a chunk, then runs the pack's chunk graph, Iris's built-in stages included, and keeps the per-runtime state built-in stages need. IrisChunk carries the biome hunk and multicore flag, IrisMantleChunk gives built-in mantle stages Iris's mantle writer, and the module mantle component now runs as the first pass, where carving ran. Built-in modules are loaded with Iris's pack object model as host types.
This commit is contained in:
1 parent
fb348d26c8
commit
0f63a3c59a
34 files changed
+546
-569
No files matched your search
+2
-2
@@ -30,7 +30,7 @@ import art.arcane.iris.core.service.IrisApiEventSVC;
|
||||
import art.arcane.iris.core.tools.IrisToolbelt;
|
||||
import art.arcane.iris.core.tools.WorldMaintenance;
|
||||
import art.arcane.iris.engine.framework.Engine;
|
||||
import art.arcane.iris.engine.framework.EngineMode;
|
||||
import art.arcane.iris.engine.framework.EngineGeneration;
|
||||
import art.arcane.iris.engine.framework.EnginePlatformHooks;
|
||||
import art.arcane.iris.engine.framework.NativeStructureVolume;
|
||||
import art.arcane.iris.engine.object.world.dimension.IrisDimension;
|
||||
@@ -137,7 +137,7 @@ public final class BukkitEnginePlatformHooks implements EnginePlatformHooks {
|
||||
return false;
|
||||
}
|
||||
boolean maintenanceActive = WorldMaintenance.isWorldMaintenanceActive(world.identity());
|
||||
return EngineMode.shouldDisableContextCacheForMaintenance(maintenanceActive, isPregeneratorActive(engine));
|
||||
return EngineGeneration.shouldDisableContextCacheForMaintenance(maintenanceActive, isPregeneratorActive(engine));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user