mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix holes
This commit is contained in:
parent
a478428721
commit
e6b59bc16d
@ -340,7 +340,7 @@ public class CNG
|
||||
double y = dim.length > 1 ? dim[1] - f : 0D;
|
||||
double z = dim.length > 2 ? dim[2] - f : 0D;
|
||||
double n = generator.noise(x * scale, y * scale, z * scale) * opacity;
|
||||
n = power != 1D ? Math.pow(n, power) : n;
|
||||
n = power != 1D ? (n < 0 ? -Math.pow(Math.abs(n), power) : Math.pow(n, power)) : n;
|
||||
double m = 1;
|
||||
hits += oct;
|
||||
if(children == null)
|
||||
|
@ -405,7 +405,10 @@ public class IrisObject extends IrisRegistrant
|
||||
listener.accept(new BlockPosition(xx, yy, zz));
|
||||
}
|
||||
|
||||
if(!data.getMaterial().equals(Material.AIR))
|
||||
{
|
||||
placer.set(xx, yy, zz, data);
|
||||
}
|
||||
|
||||
if(stilting)
|
||||
{
|
||||
@ -444,12 +447,15 @@ public class IrisObject extends IrisRegistrant
|
||||
if(d != null)
|
||||
{
|
||||
for(int j = yf; j > yg - config.getOverStilt(); j--)
|
||||
{
|
||||
if(!d.getMaterial().equals(Material.AIR))
|
||||
{
|
||||
placer.set(xf, j, zf, d);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(heightmap != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user