Added Lake biome, tweaked temperatures for biomes in the warm temperate/mediterranean climates
This commit is contained in:
parent
f146efb1ee
commit
380cd1517a
|
@ -42,6 +42,7 @@ public class BOPBiomes
|
|||
public static Optional<Biome> grassland = Optional.absent();
|
||||
public static Optional<Biome> grove = Optional.absent();
|
||||
public static Optional<Biome> highland = Optional.absent();
|
||||
public static Optional<Biome> lake = Optional.absent();
|
||||
public static Optional<Biome> lavender_fields = Optional.absent();
|
||||
public static Optional<Biome> lush_swamp = Optional.absent();
|
||||
public static Optional<Biome> maple_woods = Optional.absent();
|
||||
|
|
|
@ -48,7 +48,7 @@ public class BiomeGenChaparral extends BOPOverworldBiome
|
|||
|
||||
public BiomeGenChaparral()
|
||||
{
|
||||
super("chaparral", new PropsBuilder("Chaparral").withGuiColour(0xC4D675).withTemperature(0.75F).withRainfall(0.15F));
|
||||
super("chaparral", new PropsBuilder("Chaparral").withGuiColour(0xC4D675).withTemperature(0.8F).withRainfall(0.15F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(80).heightVariation(10, 40);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class BiomeGenGrove extends BOPOverworldBiome
|
|||
|
||||
public BiomeGenGrove()
|
||||
{
|
||||
super("grove", new PropsBuilder("Grove").withGuiColour(0x517F51).withTemperature(0.75F).withRainfall(0.3F));
|
||||
super("grove", new PropsBuilder("Grove").withGuiColour(0x517F51).withTemperature(0.8F).withRainfall(0.3F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(85).heightVariation(20, 20);
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
package biomesoplenty.common.biome.overworld;
|
||||
|
||||
import biomesoplenty.api.block.BOPBlocks;
|
||||
import biomesoplenty.api.enums.BOPClimates;
|
||||
import biomesoplenty.api.generation.GeneratorStage;
|
||||
import biomesoplenty.common.block.BlockBOPCoral;
|
||||
import biomesoplenty.common.util.biome.GeneratorUtils.ScatterYMethod;
|
||||
import biomesoplenty.common.world.generator.GeneratorFlora;
|
||||
import biomesoplenty.common.world.generator.GeneratorWaterside;
|
||||
import net.minecraft.init.Blocks;
|
||||
|
||||
public class BiomeGenLake extends BOPOverworldBiome
|
||||
{
|
||||
|
||||
public BiomeGenLake()
|
||||
{
|
||||
super("lake", new PropsBuilder("Lake").withGuiColour(0x41B3E0).withTemperature(0.8F).withRainfall(0.6F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(59).heightVariation(4, 2);
|
||||
|
||||
this.canSpawnInBiome = false;
|
||||
this.canGenerateRivers = false;
|
||||
this.canGenerateVillages = false;
|
||||
|
||||
this.topBlock = Blocks.SAND.getDefaultState();
|
||||
this.fillerBlock = Blocks.SAND.getDefaultState();
|
||||
this.seaFloorBlock = Blocks.SAND.getDefaultState();
|
||||
|
||||
this.beachBiomeLocation = null;
|
||||
|
||||
this.addWeight(BOPClimates.MEDITERRANEAN, 3);
|
||||
this.addWeight(BOPClimates.WARM_TEMPERATE, 5);
|
||||
|
||||
this.spawnableCreatureList.clear();
|
||||
|
||||
this.addGenerator("sand", GeneratorStage.SAND_PASS2, (new GeneratorWaterside.Builder()).amountPerChunk(11).maxRadius(7).with(Blocks.SAND.getDefaultState()).create());
|
||||
|
||||
// water plants
|
||||
this.addGenerator("algae", GeneratorStage.LILYPAD, (new GeneratorFlora.Builder()).amountPerChunk(5.0F).replace(Blocks.WATER).with(BOPBlocks.coral.getDefaultState().withProperty(BlockBOPCoral.VARIANT, BlockBOPCoral.CoralType.ALGAE)).scatterYMethod(ScatterYMethod.AT_GROUND).create());
|
||||
}
|
||||
}
|
|
@ -31,7 +31,7 @@ public class BiomeGenLavenderFields extends BOPOverworldBiome
|
|||
{
|
||||
public BiomeGenLavenderFields()
|
||||
{
|
||||
super("lavender_fields", new PropsBuilder("Lavender Fields").withGuiColour(11035852).withTemperature(0.7F).withRainfall(0.7F));
|
||||
super("lavender_fields", new PropsBuilder("Lavender Fields").withGuiColour(11035852).withTemperature(0.8F).withRainfall(0.7F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(4, 12);
|
||||
|
|
|
@ -21,7 +21,7 @@ public class BiomeGenOrchard extends BOPOverworldBiome
|
|||
{
|
||||
public BiomeGenOrchard()
|
||||
{
|
||||
super("orchard", new PropsBuilder("Orchard").withGuiColour(0xA9DB69).withTemperature(0.7F).withRainfall(0.7F));
|
||||
super("orchard", new PropsBuilder("Orchard").withGuiColour(0xA9DB69).withTemperature(0.8F).withRainfall(0.7F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(4, 15);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class BiomeGenRedwoodForest extends BOPOverworldBiome
|
|||
|
||||
public BiomeGenRedwoodForest()
|
||||
{
|
||||
super("redwood_forest", new PropsBuilder("Redwood Forest").withGuiColour(0x6DAA3C).withTemperature(0.7F).withRainfall(0.7F));
|
||||
super("redwood_forest", new PropsBuilder("Redwood Forest").withGuiColour(0x6DAA3C).withTemperature(0.8F).withRainfall(0.6F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(70).heightVariation(4, 10);
|
||||
|
|
|
@ -28,7 +28,7 @@ public class BiomeGenRedwoodForestEdge extends BOPOverworldBiome
|
|||
|
||||
public BiomeGenRedwoodForestEdge()
|
||||
{
|
||||
super("redwood_forest_edge", new PropsBuilder("Redwood Forest Edge").withGuiColour(0x6DAA3C).withTemperature(0.7F).withRainfall(0.7F));
|
||||
super("redwood_forest_edge", new PropsBuilder("Redwood Forest Edge").withGuiColour(0x6DAA3C).withTemperature(0.8F).withRainfall(0.6F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(70).heightVariation(4, 10);
|
||||
|
|
|
@ -34,7 +34,7 @@ public class BiomeGenWoodland extends BOPOverworldBiome
|
|||
|
||||
public BiomeGenWoodland()
|
||||
{
|
||||
super("woodland", new PropsBuilder("Woodland").withGuiColour(0x84A92D).withTemperature(0.7F).withRainfall(0.5F));
|
||||
super("woodland", new PropsBuilder("Woodland").withGuiColour(0x84A92D).withTemperature(0.8F).withRainfall(0.5F));
|
||||
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(6, 25);
|
||||
|
|
|
@ -51,6 +51,7 @@ import static biomesoplenty.api.biome.BOPBiomes.ice_plains_extension;
|
|||
import static biomesoplenty.api.biome.BOPBiomes.jungle_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.jungle_hills_extension;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.kelp_forest;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.lake;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.lavender_fields;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.lush_swamp;
|
||||
import static biomesoplenty.api.biome.BOPBiomes.maple_woods;
|
||||
|
@ -155,6 +156,7 @@ import biomesoplenty.common.biome.overworld.BiomeGenGrove;
|
|||
import biomesoplenty.common.biome.overworld.BiomeGenHighland;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenHighlandMoor;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenKelpForest;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenLake;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenLavenderFields;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenLushSwamp;
|
||||
import biomesoplenty.common.biome.overworld.BiomeGenMapleWoods;
|
||||
|
@ -372,6 +374,7 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
grassland = registerOverworldBiome(new BiomeGenGrassland());
|
||||
grove = registerOverworldBiome(new BiomeGenGrove());
|
||||
highland = registerOverworldBiome(new BiomeGenHighland());
|
||||
lake = registerOverworldBiome(new BiomeGenLake());
|
||||
lavender_fields = registerOverworldBiome(new BiomeGenLavenderFields());
|
||||
lush_swamp = registerOverworldBiome(new BiomeGenLushSwamp());
|
||||
maple_woods = registerOverworldBiome(new BiomeGenMapleWoods());
|
||||
|
@ -494,6 +497,7 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
|
|||
registerBiomeToDictionary(BOPBiomes.grassland, Type.PLAINS, Type.HILLS, Type.WET);
|
||||
registerBiomeToDictionary(BOPBiomes.grove, Type.FOREST, Type.PLAINS, Type.LUSH, Type.WET, Type.SPARSE);
|
||||
registerBiomeToDictionary(BOPBiomes.highland, Type.MOUNTAIN, Type.HILLS, Type.WET);
|
||||
registerBiomeToDictionary(BOPBiomes.lake, Type.WATER, Type.WET, Type.RIVER);
|
||||
registerBiomeToDictionary(BOPBiomes.lavender_fields, Type.PLAINS, Type.MAGICAL, Type.LUSH);
|
||||
registerBiomeToDictionary(BOPBiomes.lush_swamp, Type.SWAMP, Type.LUSH, Type.WET, Type.DENSE);
|
||||
registerBiomeToDictionary(BOPBiomes.maple_woods, Type.FOREST, Type.CONIFEROUS, Type.COLD, Type.DENSE);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class GenLayerBiomeEdgeBOP extends BOPGenLayer
|
|||
|
||||
// line BOP alps peaks with BOP alps foothills
|
||||
if (this.replaceBiomeEdge(parentVals, out, x, y, areaWidth, biomeId, BOPBiomes.alps, BOPBiomes.alps_foothills)) {continue;}
|
||||
|
||||
|
||||
// line BOP redwood forest with BOP redwood forest edge
|
||||
if (this.replaceBiomeEdge(parentVals, out, x, y, areaWidth, biomeId, BOPBiomes.redwood_forest, BOPBiomes.redwood_forest_edge)) {continue;}
|
||||
|
||||
|
|
|
@ -116,6 +116,12 @@
|
|||
"conditions": {
|
||||
"biome": "biomesoplenty:highland"
|
||||
}
|
||||
},
|
||||
"lake": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:lake"
|
||||
}
|
||||
},
|
||||
"lavender_fields": {
|
||||
"trigger": "minecraft:location",
|
||||
|
|
|
@ -116,6 +116,12 @@
|
|||
"conditions": {
|
||||
"biome": "biomesoplenty:highland"
|
||||
}
|
||||
},
|
||||
"lake": {
|
||||
"trigger": "minecraft:location",
|
||||
"conditions": {
|
||||
"biome": "biomesoplenty:lake"
|
||||
}
|
||||
},
|
||||
"lavender_fields": {
|
||||
"trigger": "minecraft:location",
|
||||
|
@ -431,6 +437,7 @@
|
|||
"grassland",
|
||||
"grove",
|
||||
"highland",
|
||||
"lake",
|
||||
"lavender_fields",
|
||||
"lush_swamp",
|
||||
"maple_woods",
|
||||
|
|
Loading…
Reference in New Issue