Removed Canyon biome, moved Garden to island biome (Renamed to Flower Island), moved Origin Valley to island biome (Renamed to Origin Island)
This commit is contained in:
parent
76e4e34117
commit
7d36e50e66
7 changed files with 23 additions and 146 deletions
|
@ -24,7 +24,6 @@ public class BOPBiomes
|
|||
public static Optional<BiomeGenBase> bog = Optional.absent();
|
||||
public static Optional<BiomeGenBase> boreal_forest = Optional.absent();
|
||||
public static Optional<BiomeGenBase> brushland = Optional.absent();
|
||||
public static Optional<BiomeGenBase> canyon = Optional.absent();
|
||||
public static Optional<BiomeGenBase> chaparral = Optional.absent();
|
||||
public static Optional<BiomeGenBase> cherry_blossom_grove = Optional.absent();
|
||||
public static Optional<BiomeGenBase> cold_desert = Optional.absent();
|
||||
|
@ -35,7 +34,6 @@ public class BOPBiomes
|
|||
public static Optional<BiomeGenBase> eucalyptus_forest = Optional.absent();
|
||||
public static Optional<BiomeGenBase> fen = Optional.absent();
|
||||
public static Optional<BiomeGenBase> flower_field = Optional.absent();
|
||||
public static Optional<BiomeGenBase> garden = Optional.absent();
|
||||
public static Optional<BiomeGenBase> grassland = Optional.absent();
|
||||
public static Optional<BiomeGenBase> grove = Optional.absent();
|
||||
public static Optional<BiomeGenBase> heathland = Optional.absent();
|
||||
|
@ -52,7 +50,6 @@ public class BOPBiomes
|
|||
public static Optional<BiomeGenBase> mystic_grove = Optional.absent();
|
||||
public static Optional<BiomeGenBase> ominous_woods = Optional.absent();
|
||||
public static Optional<BiomeGenBase> orchard = Optional.absent();
|
||||
public static Optional<BiomeGenBase> origin_valley = Optional.absent();
|
||||
public static Optional<BiomeGenBase> outback = Optional.absent();
|
||||
public static Optional<BiomeGenBase> overgrown_cliffs = Optional.absent();
|
||||
public static Optional<BiomeGenBase> prairie = Optional.absent();
|
||||
|
@ -76,13 +73,14 @@ public class BOPBiomes
|
|||
|
||||
// edge-biomes, sub-biomes and mutated-biomes
|
||||
public static Optional<BiomeGenBase> mountain_foothills = Optional.absent();
|
||||
public static Optional<BiomeGenBase> canyon_ravine = Optional.absent();
|
||||
public static Optional<BiomeGenBase> glacier = Optional.absent();
|
||||
public static Optional<BiomeGenBase> oasis = Optional.absent();
|
||||
public static Optional<BiomeGenBase> coral_reef = Optional.absent();
|
||||
public static Optional<BiomeGenBase> kelp_forest = Optional.absent();
|
||||
public static Optional<BiomeGenBase> origin_island = Optional.absent();
|
||||
public static Optional<BiomeGenBase> tropical_island = Optional.absent();
|
||||
public static Optional<BiomeGenBase> volcanic_island = Optional.absent();
|
||||
public static Optional<BiomeGenBase> flower_island = Optional.absent();
|
||||
public static Optional<BiomeGenBase> gravel_beach = Optional.absent();
|
||||
|
||||
//Biome extensions
|
||||
|
|
|
@ -1,114 +0,0 @@
|
|||
package biomesoplenty.common.biome.overworld;
|
||||
|
||||
import net.minecraft.block.BlockDirt;
|
||||
import net.minecraft.block.BlockPlanks;
|
||||
import net.minecraft.block.BlockTallGrass;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.util.BlockPos;
|
||||
import biomesoplenty.api.biome.BOPBiome;
|
||||
import biomesoplenty.api.biome.generation.GeneratorStage;
|
||||
import biomesoplenty.api.biome.generation.GeneratorWeighted;
|
||||
import biomesoplenty.api.block.BOPBlocks;
|
||||
import biomesoplenty.common.block.BlockBOPDirt;
|
||||
import biomesoplenty.common.enums.BOPClimates;
|
||||
import biomesoplenty.common.enums.BOPFlowers;
|
||||
import biomesoplenty.common.enums.BOPGems;
|
||||
import biomesoplenty.common.enums.BOPPlants;
|
||||
import biomesoplenty.common.util.block.BlockQuery;
|
||||
import biomesoplenty.common.util.block.BlockQuery.IBlockPosQuery;
|
||||
import biomesoplenty.common.world.BOPWorldSettings;
|
||||
import biomesoplenty.common.world.feature.GeneratorFlora;
|
||||
import biomesoplenty.common.world.feature.GeneratorGrass;
|
||||
import biomesoplenty.common.world.feature.GeneratorOreSingle;
|
||||
import biomesoplenty.common.world.feature.GeneratorSplatter;
|
||||
import biomesoplenty.common.world.feature.tree.GeneratorBush;
|
||||
import biomesoplenty.common.world.feature.tree.GeneratorPineTree;
|
||||
|
||||
public class BiomeGenCanyon extends BOPBiome
|
||||
{
|
||||
|
||||
public static enum CanyonType {PLATEAU, RAVINE}
|
||||
|
||||
// TODO: placement of ravine is not ideal - out to be tied to the rivers layer somehow, instead of being a subbiome
|
||||
public BiomeGenCanyon(CanyonType type)
|
||||
{
|
||||
// terrain
|
||||
if (type == CanyonType.PLATEAU)
|
||||
{
|
||||
this.terrainSettings.avgHeight(140).heightVariation(10, 10);
|
||||
|
||||
this.addWeight(BOPClimates.SAVANNA, 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.terrainSettings.avgHeight(63).heightVariation(9, 40);
|
||||
}
|
||||
|
||||
this.setColor(0xB49C70);
|
||||
this.setTemperatureRainfall(1.2F, 0.3F);
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
this.canGenerateVillages = false;
|
||||
|
||||
this.beachBiomeId = -1;
|
||||
|
||||
this.spawnableCreatureList.clear();
|
||||
|
||||
this.topBlock = BOPBlocks.dirt.getDefaultState().withProperty(BlockBOPDirt.VARIANT, BlockBOPDirt.BOPDirtType.SANDY).withProperty(BlockBOPDirt.COARSE, true);
|
||||
this.fillerBlock = BOPBlocks.dirt.getDefaultState().withProperty(BlockBOPDirt.VARIANT, BlockBOPDirt.BOPDirtType.SANDY).withProperty(BlockBOPDirt.COARSE, true);
|
||||
|
||||
// splatter top blocks
|
||||
IBlockPosQuery emptyCoarseDirt = BlockQuery.buildAnd().withAirAbove().states(this.topBlock).create();
|
||||
this.addGenerator("grass_splatter", GeneratorStage.SAND, (new GeneratorSplatter.Builder()).amountPerChunk(4.0F).generationAttempts(128).replace(emptyCoarseDirt).with(Blocks.grass.getDefaultState()).create());
|
||||
|
||||
// trees and logs
|
||||
GeneratorWeighted treeGenerator = new GeneratorWeighted(5);
|
||||
this.addGenerator("trees", GeneratorStage.TREE, treeGenerator);
|
||||
treeGenerator.add("pine", 1, (new GeneratorPineTree.Builder()).minHeight(6).maxHeight(18).placeOn(emptyCoarseDirt).create());
|
||||
treeGenerator.add("brush", 2, (new GeneratorBush.Builder()).log(BlockPlanks.EnumType.ACACIA).leaves(BlockPlanks.EnumType.ACACIA).placeOn(emptyCoarseDirt).create());
|
||||
|
||||
// flowers
|
||||
GeneratorWeighted flowerGenerator = new GeneratorWeighted(0.5F);
|
||||
this.addGenerator("flowers", GeneratorStage.GRASS, flowerGenerator);
|
||||
flowerGenerator.add("bromeliad", 2, (new GeneratorFlora.Builder().with(BOPFlowers.BROMELIAD).create()));
|
||||
|
||||
// water plants
|
||||
this.addGenerator("water_reeds", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(2.0F).with(BOPPlants.REED).generationAttempts(32).create());
|
||||
|
||||
// grasses (note weighting must be quite high as the grasses will only grow on the splattered grass blocks)
|
||||
GeneratorWeighted grassGenerator = new GeneratorWeighted(4.0F);
|
||||
this.addGenerator("grass", GeneratorStage.GRASS, grassGenerator);
|
||||
grassGenerator.add("mediumgrass", 1, (new GeneratorGrass.Builder()).with(BOPPlants.MEDIUMGRASS).create());
|
||||
grassGenerator.add("tallgrass", 2, (new GeneratorGrass.Builder()).with(BlockTallGrass.EnumType.GRASS).create());
|
||||
|
||||
// gem
|
||||
this.addGenerator("emeralds", GeneratorStage.SAND, (new GeneratorOreSingle.Builder()).amountPerChunk(12).with(Blocks.emerald_ore.getDefaultState()).create());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applySettings(BOPWorldSettings settings)
|
||||
{
|
||||
if (!settings.generateBopPlants) {this.removeGenerator("cattail"); this.removeGenerator("double_cattail"); this.removeGenerator("river_cane"); this.removeGenerator("tiny_cacti"); this.removeGenerator("roots"); this.removeGenerator("rafflesia"); this.removeGenerator("desert_sprouts");}
|
||||
|
||||
if (!settings.generateBopFoliage) {this.removeGenerator("bushes"); this.removeGenerator("koru"); this.removeGenerator("shrubs"); this.removeGenerator("leaf_piles"); this.removeGenerator("dead_leaf_piles"); this.removeGenerator("clover_patches"); this.removeGenerator("sprouts");}
|
||||
|
||||
if (!settings.generateBopWaterPlants) {this.removeGenerator("algae"); this.removeGenerator("water_reeds"); this.removeGenerator("medium_lily"); this.removeGenerator("small_lily"); this.removeGenerator("tiny_lily");}
|
||||
|
||||
if (!settings.generateBopFlowers) {this.removeGenerator("flowers");}
|
||||
|
||||
GeneratorWeighted grassGen = (GeneratorWeighted)this.getGenerator("grass");
|
||||
if (!settings.generateBopGrasses) {grassGen.removeGenerator("shortgrass"); grassGen.removeGenerator("mediumgrass"); grassGen.removeGenerator("wheatgrass"); grassGen.removeGenerator("dampgrass");}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGrassColorAtPos(BlockPos pos)
|
||||
{
|
||||
return 0xA9BA64;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFoliageColorAtPos(BlockPos pos)
|
||||
{
|
||||
return 0xA9BA64;
|
||||
}
|
||||
}
|
|
@ -36,13 +36,13 @@ import biomesoplenty.common.world.feature.GeneratorOreSingle;
|
|||
import biomesoplenty.common.world.feature.GeneratorSplatter;
|
||||
import biomesoplenty.common.world.feature.tree.GeneratorBush;
|
||||
|
||||
public class BiomeGenGarden extends BOPBiome
|
||||
public class BiomeGenFlowerIsland extends BOPBiome
|
||||
{
|
||||
|
||||
public BiomeGenGarden()
|
||||
public BiomeGenFlowerIsland()
|
||||
{
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(66).heightVariation(6, 14).octaves(0, 0, 1, 1, 2, 2);
|
||||
this.terrainSettings.avgHeight(70).heightVariation(10, 15).octaves(0, 0, 1, 1, 2, 2);
|
||||
|
||||
this.setColor(0x74D374);
|
||||
this.setTemperatureRainfall(0.6F, 0.8F);
|
||||
|
@ -50,9 +50,11 @@ public class BiomeGenGarden extends BOPBiome
|
|||
|
||||
this.canSpawnInBiome = false;
|
||||
this.canGenerateVillages = false;
|
||||
this.canGenerateRivers = false;
|
||||
|
||||
this.addWeight(BOPClimates.WET_TEMPERATE, 1);
|
||||
clearWeights();
|
||||
|
||||
this.spawnableMonsterList.clear();
|
||||
this.spawnableCreatureList.clear();
|
||||
this.spawnableCreatureList.add(new SpawnListEntry(EntitySnail.class, 6, 1, 2));
|
||||
this.spawnableCreatureList.add(new SpawnListEntry(EntityButterfly.class, 6, 2, 4));
|
|
@ -74,6 +74,7 @@ public class BiomeGenMountain extends BOPBiome
|
|||
break;
|
||||
}
|
||||
|
||||
this.canGenerateRivers = false;
|
||||
this.canSpawnInBiome = false;
|
||||
this.canGenerateVillages = false;
|
||||
this.setColor(0x80A355);
|
||||
|
|
|
@ -23,9 +23,9 @@ import biomesoplenty.common.world.BOPWorldSettings;
|
|||
import biomesoplenty.common.world.feature.GeneratorFlora;
|
||||
import biomesoplenty.common.world.feature.tree.GeneratorBasicTree;
|
||||
|
||||
public class BiomeGenOriginValley extends BOPBiome
|
||||
public class BiomeGenOriginIsland extends BOPBiome
|
||||
{
|
||||
public BiomeGenOriginValley()
|
||||
public BiomeGenOriginIsland()
|
||||
{
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(6, 25).sidewaysNoise(0.0D);
|
||||
|
@ -38,7 +38,7 @@ public class BiomeGenOriginValley extends BOPBiome
|
|||
this.canGenerateVillages = false;
|
||||
this.canGenerateRivers = false;
|
||||
|
||||
this.addWeight(BOPClimates.COOL_TEMPERATE, 1);
|
||||
clearWeights();
|
||||
|
||||
this.topBlock = BOPBlocks.grass.getDefaultState().withProperty(BlockBOPGrass.VARIANT, BOPGrassType.ORIGIN);
|
||||
|
|
@ -16,8 +16,6 @@ import static biomesoplenty.api.biome.BOPBiomes.birch_forest_hills_extension;
|
|||
import static biomesoplenty.api.biome.BOPBiomes.bog;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.boreal_forest;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.brushland;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.canyon;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.canyon_ravine;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.chaparral;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.cherry_blossom_grove;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.cold_desert;
|
||||
|
@ -36,9 +34,9 @@ import static biomesoplenty.api.biome.BOPBiomes.extreme_hills_extension;
|
|||
import static biomesoplenty.api.biome.BOPBiomes.extreme_hills_plus_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.fen;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.flower_field;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.flower_island;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.forest_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.forest_hills_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.garden;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.glacier;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.grassland;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.gravel_beach;
|
||||
|
@ -68,7 +66,7 @@ import static biomesoplenty.api.biome.BOPBiomes.mystic_grove;
|
|||
import static biomesoplenty.api.biome.BOPBiomes.oasis;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.ocean_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.ominous_woods;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.origin_valley;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.origin_island;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.orchard;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.outback;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.overgrown_cliffs;
|
||||
|
@ -123,7 +121,6 @@ import biomesoplenty.common.biome.overworld.BiomeGenBayou;
|
|||
import biomesoplenty.common.biome.overworld.BiomeGenBog;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenBorealForest;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenBrushland;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenCanyon;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenChaparral;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenCherryBlossomGrove;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenColdDesert;
|
||||
|
@ -135,7 +132,7 @@ import biomesoplenty.common.biome.overworld.BiomeGenDeadSwamp;
|
|||
import biomesoplenty.common.biome.overworld.BiomeGenEucalyptusForest;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenFen;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenFlowerField;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenGarden;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenFlowerIsland;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenGlacier;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenGrassland;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenGravelBeach;
|
||||
|
@ -156,7 +153,7 @@ import biomesoplenty.common.biome.overworld.BiomeGenMysticGrove;
|
|||
import biomesoplenty.common.biome.overworld.BiomeGenOasis;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOminousWoods;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOrchard;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOriginValley;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOriginIsland;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOutback;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenOvergrownCliffs;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenPrairie;
|
||||
|
@ -359,7 +356,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
bog = registerBOPBiome(new BiomeGenBog(), "Bog");
|
||||
boreal_forest = registerBOPBiome(new BiomeGenBorealForest(), "Boreal Forest");
|
||||
brushland = registerBOPBiome(new BiomeGenBrushland(), "Brushland");
|
||||
canyon = registerBOPBiome(new BiomeGenCanyon(BiomeGenCanyon.CanyonType.PLATEAU), "Canyon");
|
||||
chaparral = registerBOPBiome(new BiomeGenChaparral(), "Chaparral");
|
||||
cherry_blossom_grove = registerBOPBiome(new BiomeGenCherryBlossomGrove(), "Cherry Blossom Grove");
|
||||
cold_desert = registerBOPBiome(new BiomeGenColdDesert(), "Cold Desert");
|
||||
|
@ -370,7 +366,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
eucalyptus_forest = registerBOPBiome(new BiomeGenEucalyptusForest(), "Eucalyptus Forest");
|
||||
fen = registerBOPBiome(new BiomeGenFen(), "Fen");
|
||||
flower_field = registerBOPBiome(new BiomeGenFlowerField(), "Flower Field");
|
||||
garden = registerBOPBiome(new BiomeGenGarden(), "Garden");
|
||||
grassland = registerBOPBiome(new BiomeGenGrassland(), "Grassland");
|
||||
grove = registerBOPBiome(new BiomeGenGrove(), "Grove");
|
||||
heathland = registerBOPBiome(new BiomeGenHeathland(), "Heathland");
|
||||
|
@ -387,7 +382,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
mystic_grove = registerBOPBiome(new BiomeGenMysticGrove(), "Mystic Grove");
|
||||
ominous_woods = registerBOPBiome(new BiomeGenOminousWoods(), "Ominous Woods");
|
||||
orchard = registerBOPBiome(new BiomeGenOrchard(), "Orchard");
|
||||
origin_valley = registerBOPBiome(new BiomeGenOriginValley(), "Origin Valley");
|
||||
outback = registerBOPBiome(new BiomeGenOutback(), "Outback");
|
||||
overgrown_cliffs = registerBOPBiome(new BiomeGenOvergrownCliffs(), "Overgrown Cliffs");
|
||||
prairie = registerBOPBiome(new BiomeGenPrairie(), "Prairie");
|
||||
|
@ -412,13 +406,11 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
// edge-biomes, sub-biomes and mutated-biomes
|
||||
|
||||
mountain_foothills = registerBOPBiome(new BiomeGenMountain(BiomeGenMountain.MountainType.FOOTHILLS), "Mountain Foothills");
|
||||
canyon_ravine = registerBOPBiome(new BiomeGenCanyon(BiomeGenCanyon.CanyonType.RAVINE), "Canyon Ravine");
|
||||
glacier = registerBOPBiome(new BiomeGenGlacier(), "Glacier");
|
||||
oasis = registerBOPBiome(new BiomeGenOasis(), "Oasis");
|
||||
coral_reef = registerBOPBiome(new BiomeGenCoralReef(), "Coral Reef");
|
||||
kelp_forest = registerBOPBiome(new BiomeGenKelpForest(), "Kelp Forest");
|
||||
|
||||
setSubBiome(canyon, canyon_ravine);
|
||||
setSubBiome(Optional.of(BiomeGenBase.icePlains), BOPBiomes.glacier);
|
||||
setSubBiome(Optional.of(BiomeGenBase.desert), BOPBiomes.oasis);
|
||||
setSubBiome(Optional.of(BiomeGenBase.ocean), BOPBiomes.coral_reef);
|
||||
|
@ -426,11 +418,15 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
|
||||
// island biomes
|
||||
|
||||
origin_island = registerBOPBiome(new BiomeGenOriginIsland(), "Origin Island");
|
||||
tropical_island = registerBOPBiome(new BiomeGenTropicalIsland(), "Tropical Island");
|
||||
volcanic_island = registerBOPBiome(new BiomeGenVolcanicIsland(), "Volcanic Island");
|
||||
flower_island = registerBOPBiome(new BiomeGenFlowerIsland(), "Flower Island");
|
||||
|
||||
addIslandBiome(tropical_island, 10);
|
||||
addIslandBiome(volcanic_island, 3);
|
||||
addIslandBiome(origin_island, 1);
|
||||
addIslandBiome(tropical_island, 3);
|
||||
addIslandBiome(volcanic_island, 5);
|
||||
addIslandBiome(flower_island, 7);
|
||||
}
|
||||
|
||||
public static void initExtendedBiomes()
|
||||
|
@ -477,7 +473,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
registerBiomeToDictionary(BOPBiomes.bog, Type.SWAMP, Type.FOREST, Type.COLD, Type.WET);
|
||||
registerBiomeToDictionary(BOPBiomes.boreal_forest, Type.FOREST, Type.CONIFEROUS, Type.HILLS, Type.COLD, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.brushland, Type.SAVANNA, Type.HOT, Type.DRY, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.canyon, Type.MOUNTAIN, Type.DRY, Type.HILLS, Type.HOT, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.chaparral, Type.PLAINS, Type.DRY);
|
||||
registerBiomeToDictionary(BOPBiomes.cherry_blossom_grove, Type.FOREST, Type.MAGICAL, Type.LUSH, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.cold_desert, Type.SNOWY, Type.DRY, Type.COLD);
|
||||
|
@ -488,7 +483,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
registerBiomeToDictionary(BOPBiomes.eucalyptus_forest, Type.FOREST, Type.JUNGLE, Type.LUSH, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.fen, Type.SWAMP, Type.FOREST, Type.COLD, Type.DEAD, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.flower_field, Type.PLAINS, Type.LUSH);
|
||||
registerBiomeToDictionary(BOPBiomes.garden, Type.PLAINS, Type.LUSH, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.grassland, Type.PLAINS, Type.HILLS, Type.WET);
|
||||
registerBiomeToDictionary(BOPBiomes.grove, Type.FOREST, Type.PLAINS, Type.LUSH, Type.WET, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.heathland, Type.PLAINS, Type.FOREST, Type.DRY, Type.SPARSE);
|
||||
|
@ -504,7 +498,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
registerBiomeToDictionary(BOPBiomes.mountain, Type.MOUNTAIN, Type.FOREST, Type.DRY, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.mystic_grove, Type.MAGICAL, Type.FOREST, Type.LUSH, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.ominous_woods, Type.MAGICAL, Type.FOREST, Type.SPOOKY, Type.DEAD, Type.WET, Type.DENSE);
|
||||
//registerBiomeToDictionary(BOPBiomes.origin_valley, Type.FOREST, Type.PLAINS, Type.LUSH);
|
||||
registerBiomeToDictionary(BOPBiomes.outback, Type.SANDY, Type.SAVANNA, Type.HOT, Type.DRY, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.overgrown_cliffs, Type.MOUNTAIN, Type.HILLS, Type.LUSH, Type.JUNGLE, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.prairie, Type.PLAINS, Type.DRY, Type.SPARSE);
|
||||
|
@ -528,13 +521,13 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
|
||||
// edge-biomes, sub-biomes and mutated-biomes
|
||||
registerBiomeToDictionary(BOPBiomes.mountain_foothills, Type.HILLS, Type.MOUNTAIN, Type.FOREST, Type.DRY, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.canyon_ravine, Type.MOUNTAIN, Type.DRY, Type.HILLS, Type.HOT, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.glacier, Type.SNOWY, Type.WASTELAND, Type.COLD);
|
||||
registerBiomeToDictionary(BOPBiomes.oasis, Type.SANDY, Type.LUSH, Type.JUNGLE, Type.HOT, Type.WET, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.coral_reef, Type.WATER, Type.OCEAN);
|
||||
registerBiomeToDictionary(BOPBiomes.kelp_forest, Type.WATER, Type.OCEAN);
|
||||
registerBiomeToDictionary(BOPBiomes.tropical_island, Type.WATER, Type.OCEAN, Type.JUNGLE, Type.LUSH, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.volcanic_island, Type.WATER, Type.OCEAN, Type.DEAD, Type.WASTELAND, Type.MOUNTAIN, Type.HOT, Type.DRY);
|
||||
registerBiomeToDictionary(BOPBiomes.flower_island, Type.WATER, Type.OCEAN, Type.PLAINS, Type.LUSH, Type.DENSE, Type.MAGICAL);
|
||||
registerBiomeToDictionary(BOPBiomes.gravel_beach, Type.BEACH);
|
||||
|
||||
}
|
||||
|
|
|
@ -40,9 +40,6 @@ public class GenLayerBiomeEdgeBOP extends BOPGenLayer
|
|||
// line BOP mountain peaks with BOP mountain foothills
|
||||
if (this.replaceBiomeEdge(parentVals, out, x, y, areaWidth, biomeId, BOPBiomes.mountain, BOPBiomes.mountain_foothills)) {continue;}
|
||||
|
||||
// line BOP canyon with BOP canyon ravine
|
||||
if (this.replaceBiomeEdge(parentVals, out, x, y, areaWidth, biomeId, BOPBiomes.canyon, BOPBiomes.canyon_ravine)) {continue;}
|
||||
|
||||
// line BOP wasteland with vanilla desert
|
||||
if (this.replaceBiomeEdge(parentVals, out, x, y, areaWidth, biomeId, BOPBiomes.wasteland, Optional.of(BiomeGenBase.desert))) {continue;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue