fix region zoom

This commit is contained in:
Julian Krings
2024-08-03 13:03:50 +02:00
parent 61bbfee640
commit 8e9f78e982
@@ -124,7 +124,6 @@ public class IrisComplex implements DataProvider {
ProceduralStream.of((x, z) -> focusRegion, ProceduralStream.of((x, z) -> focusRegion,
Interpolated.of(a -> 0D, a -> focusRegion)) Interpolated.of(a -> 0D, a -> focusRegion))
: regionStyleStream : regionStyleStream
.zoom(engine.getDimension().getRegionZoom())
.selectRarity(data.getRegionLoader().loadAll(engine.getDimension().getRegions())) .selectRarity(data.getRegionLoader().loadAll(engine.getDimension().getRegions()))
.cache2D("regionStream", engine, cacheSize).waste("Region Stream"); .cache2D("regionStream", engine, cacheSize).waste("Region Stream");
regionIDStream = regionIdentityStream.convertCached((i) -> new UUID(Double.doubleToLongBits(i), regionIDStream = regionIdentityStream.convertCached((i) -> new UUID(Double.doubleToLongBits(i),