9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-25 18:19:14 +00:00

Height streams only

This commit is contained in:
cyberpwn
2021-09-13 10:08:41 -04:00
parent ecee464b34
commit 93bcb8994f
2 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ public class IrisEngine implements Engine {
int xx = x + (i << 4);
int zz = z + (z << 4);
getComplex().getTrueBiomeStream().get(xx,zz);
getComplex().getTrueHeightStream().get(xx,zz);
getComplex().getHeightStream().get(xx,zz);
}
}
}

View File

@@ -80,8 +80,8 @@ public class IrisTerrainNormalActuator extends EngineAssignedActuator<BlockData>
IrisBiome biome;
for (zf = 0; zf < h.getDepth(); zf++) {
realX = (int) modX(xf + x);
realZ = (int) modZ(zf + z);
realX = (int) xf + x;
realZ = (int) zf + z;
biome = getComplex().getTrueBiomeStream().get(realX, realZ);
he = (int) Math.round(Math.min(h.getHeight(), getComplex().getHeightStream().get(realX, realZ)));
hf = Math.round(Math.max(Math.min(h.getHeight(), getDimension().getFluidHeight()), he));