mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-18 02:22:32 +00:00
Begin testing new BiomeGrid in default config, prevent physics update during ore population.
This commit is contained in:
parent
12c0d561d1
commit
3e2fada357
@ -75,7 +75,7 @@ public class OreConfig extends TerraConfigObject {
|
||||
for(int z = -rad; z <= rad; z++) {
|
||||
if(l.clone().add(x, y, z).distance(l) < (rad + 0.5) * ((ore.getSimplexFractal(x, y, z)+1)*deform)) {
|
||||
Block b = l.clone().add(x, y, z).getBlock();
|
||||
if(replaceable.contains(b.getType()) && b.getLocation().getY() >= 0) b.setBlockData(oreData);
|
||||
if(replaceable.contains(b.getType()) && b.getLocation().getY() >= 0) b.setBlockData(oreData, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user