Biome by category adding
This commit is contained in:
parent
df214cdb24
commit
fd0488dd6a
2 changed files with 8 additions and 0 deletions
|
@ -97,6 +97,10 @@ public class BCLibEndBiomeSource extends BiomeSource {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (GeneratorOptions.addEndBiomesByCategory() && biome.getBiomeCategory() == BiomeCategory.THEEND) {
|
||||
return true;
|
||||
}
|
||||
|
||||
BCLBiome bclBiome = BiomeAPI.getBiome(key);
|
||||
if (bclBiome != BiomeAPI.EMPTY_BIOME) {
|
||||
if (bclBiome.hasParentBiome()) {
|
||||
|
|
|
@ -75,6 +75,10 @@ public class BCLibNetherBiomeSource extends BiomeSource {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (GeneratorOptions.addNetherBiomesByCategory() && biome.getBiomeCategory() == BiomeCategory.NETHER) {
|
||||
return true;
|
||||
}
|
||||
|
||||
BCLBiome bclBiome = BiomeAPI.getBiome(key);
|
||||
if (bclBiome != BiomeAPI.EMPTY_BIOME) {
|
||||
if (bclBiome.hasParentBiome()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue