geforkt von Mirrors/Paper
Fix ChunkGenerator#generateCaves never being called
By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
4d235919d6
Commit
06818793c7
@ -236,13 +236,13 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
|
|||||||
delegate.applyCarvers(regionlimitedworldaccess, seed, randomstate, biomemanager, structuremanager, ichunkaccess, worldgenstage_features);
|
delegate.applyCarvers(regionlimitedworldaccess, seed, randomstate, biomemanager, structuremanager, ichunkaccess, worldgenstage_features);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (worldgenstage_features == WorldGenStage.Features.LIQUID) { // stage check ensures that the method is only called once
|
// Minecraft removed the LIQUID_CARVERS stage from world generation, without removing the LIQUID Carving enum.
|
||||||
CraftChunkData chunkData = new CraftChunkData(this.world.getWorld(), ichunkaccess);
|
// Meaning this method is only called once for each chunk, so no check is required.
|
||||||
random.setDecorationSeed(seed, 0, 0);
|
CraftChunkData chunkData = new CraftChunkData(this.world.getWorld(), ichunkaccess);
|
||||||
|
random.setDecorationSeed(seed, 0, 0);
|
||||||
|
|
||||||
generator.generateCaves(this.world.getWorld(), new RandomSourceWrapper.RandomWrapper(random), x, z, chunkData);
|
generator.generateCaves(this.world.getWorld(), new RandomSourceWrapper.RandomWrapper(random), x, z, chunkData);
|
||||||
chunkData.breakLink();
|
chunkData.breakLink();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren