Biome setting in caves

This commit is contained in:
paulevsGitch 2021-12-23 07:06:01 +03:00
parent 800bf72faf
commit 2c819071a5

View file

@ -153,11 +153,7 @@ public abstract class EndCaveFeature extends DefaultFeature {
} }
protected void setBiome(WorldGenLevel world, BlockPos pos, EndCaveBiome biome) { protected void setBiome(WorldGenLevel world, BlockPos pos, EndCaveBiome biome) {
//TODO: 1.18 No longer implemented in BCLib BiomeAPI.setBiome(world, pos, biome.getActualBiome());
// BiomeSetter array = (BiomeSetter) world.getChunk(pos).getBiomes();
// if (array != null) {
// array.bclib_setBiome(biome.getActualBiome(), pos);
// }
} }
private BlockPos findPos(WorldGenLevel world, BlockPos pos, int radius, Random random) { private BlockPos findPos(WorldGenLevel world, BlockPos pos, int radius, Random random) {