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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user