1.19.3-pre2
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user