mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
Skip springs under transforms
- Dimensions with a terrain transform place no cave springs - The structure query no longer re-enters the transform during terrain
This commit is contained in:
1 parent
bf30f8c75b
commit
891aaa13b4
2 files changed
+14
No files matched your search
@@ -126,6 +126,9 @@ final class MantleCarvedTerrain implements CarvedTerrain {
|
||||
|
||||
@Override
|
||||
public boolean structureNear(int x, int y, int z) {
|
||||
if (dimension.getTerrainTransform() != null) {
|
||||
return true;
|
||||
}
|
||||
long revision = ProvisionalSampling.revision();
|
||||
boolean near = importedStructureNear(x, y, z) || StructurePlacementScope.startsNear(engine, chunkX, chunkZ, STRUCTURE_REACH_CHUNKS);
|
||||
requireFinal(revision, chunkX << 4, chunkZ << 4);
|
||||
|
||||
Reference in new issue
Block a user