Changed handling of vanilla/fabric end biomes

This commit is contained in:
Frank 2022-06-14 14:29:50 +02:00
parent 7c810cd3a7
commit f72081620a
2 changed files with 20 additions and 4 deletions

View file

@ -232,7 +232,11 @@ public class BiomeAPI {
ResourceKey<Biome> key = getBiomeKey(biome.getBiome());
if (biome.allowFabricRegistration()) {
TheEndBiomes.addHighlandsBiome(key, weight);
//TheEndBiomes.addMidlandsBiome(key, weight);
TheEndBiomes.addMidlandsBiome(key, key, weight);
if (biome.isEdgeBiome()) {
ResourceKey<Biome> parentKey = getBiomeKey(biome.getParentBiome().getBiome());
TheEndBiomes.addMidlandsBiome(parentKey, key, weight);
}
}
return biome;
}