mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-01 08:50:06 +00:00
Clipped pregen prefetch
- Limited chunk prefetch rings to the windows a bounded pregeneration still needs - Forwarded pregeneration region bounds from the async, medieval and modded methods - Restored unclipped prefetch when the pregeneration closes - Added a runtime test for clipped and restored prefetch
This commit is contained in:
1 parent
ca33273d17
commit
def73cff96
7 files changed
+116
-1
No files matched your search
+5
@@ -348,6 +348,11 @@ public final class ModdedPregenMethod implements PregeneratorMethod {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRegionBounds(int minRegionX, int minRegionZ, int maxRegionX, int maxRegionZ) {
|
||||
hydrology.bound(minRegionX, minRegionZ, maxRegionX, maxRegionZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRegionsAhead(List<long[]> regions) {
|
||||
if (!closing.get()) {
|
||||
|
||||
Reference in new issue
Block a user