1.19.3-pre2

This commit is contained in:
gnembon committed 2022-11-24 06:10:18 +01:00
1 parent f7d9f662fd
commit 1edd06605b
3 files changed
+4 -4

No files matched your search

@@ -219,7 +219,7 @@ public class FeatureGenerator
if (!computeBox) {
Holder<Biome> genBiome = generator.getBiomeSource().getNoiseBiome(QuartPos.fromBlock(pos.getX()), QuartPos.fromBlock(pos.getY()), QuartPos.fromBlock(pos.getZ()), seed.sampler());
if (structureBiomes.contains(genBiome) && structure.findGenerationPoint(new Structure.GenerationContext(
if (structureBiomes.contains(genBiome) && structure.findValidGenerationPoint(new Structure.GenerationContext(
world.registryAccess(), generator, generator.getBiomeSource(),
seed, world.getStructureManager(), world.getSeed(), chunkPos, world, structureBiomes::contains
)).isPresent())