Gravel beach tweaks
This commit is contained in:
parent
dabe175d04
commit
c0c6062ded
6 changed files with 30 additions and 1 deletions
|
@ -46,6 +46,11 @@ public class BiomeGenGrassland extends BOPBiome {
|
|||
this.addWeight(BOPClimates.COOL_TEMPERATE, 7);
|
||||
this.addWeight(BOPClimates.WET_TEMPERATE, 3);
|
||||
|
||||
if (BOPBiomes.gravel_beach.isPresent())
|
||||
{
|
||||
this.beachBiomeId = BOPBiomes.gravel_beach.get().biomeID;
|
||||
}
|
||||
|
||||
this.canGenerateVillages = true;
|
||||
|
||||
this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6));
|
||||
|
|
|
@ -26,7 +26,7 @@ public class BiomeGenGravelBeach extends BOPBiome
|
|||
public BiomeGenGravelBeach()
|
||||
{
|
||||
// terrain
|
||||
this.terrainSettings.avgHeight(64).heightVariation(5, 5);
|
||||
this.terrainSettings.avgHeight(64).heightVariation(3, 4);
|
||||
|
||||
this.setColor(0x908884);
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ package biomesoplenty.common.biome.vanilla;
|
|||
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import biomesoplenty.api.biome.BOPBiomes;
|
||||
import biomesoplenty.api.biome.ExtendedBiomeWrapper;
|
||||
import biomesoplenty.api.biome.generation.GeneratorStage;
|
||||
import biomesoplenty.api.biome.generation.GeneratorWeighted;
|
||||
|
@ -22,6 +23,11 @@ public class BiomeExtBirchForest extends ExtendedBiomeWrapper
|
|||
{
|
||||
super(BiomeGenBase.birchForest);
|
||||
|
||||
if (BOPBiomes.gravel_beach.isPresent())
|
||||
{
|
||||
this.beachBiomeId = BOPBiomes.gravel_beach.get().biomeID;
|
||||
}
|
||||
|
||||
// grasses
|
||||
GeneratorWeighted grassGenerator = new GeneratorWeighted(2.5F);
|
||||
this.addGenerator("grass", GeneratorStage.GRASS, grassGenerator);
|
||||
|
|
|
@ -4,6 +4,7 @@ import net.minecraft.block.BlockDoublePlant;
|
|||
import net.minecraft.block.BlockFlower.EnumFlowerType;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import biomesoplenty.api.biome.BOPBiomes;
|
||||
import biomesoplenty.api.biome.ExtendedBiomeWrapper;
|
||||
import biomesoplenty.api.biome.generation.GeneratorStage;
|
||||
import biomesoplenty.api.biome.generation.GeneratorWeighted;
|
||||
|
@ -24,6 +25,11 @@ public class BiomeExtForest extends ExtendedBiomeWrapper
|
|||
{
|
||||
super(BiomeGenBase.forest);
|
||||
|
||||
if (BOPBiomes.gravel_beach.isPresent())
|
||||
{
|
||||
this.beachBiomeId = BOPBiomes.gravel_beach.get().biomeID;
|
||||
}
|
||||
|
||||
// grasses
|
||||
GeneratorWeighted grassGenerator = new GeneratorWeighted(5.0F);
|
||||
this.addGenerator("grass", GeneratorStage.GRASS, grassGenerator);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package biomesoplenty.common.biome.vanilla;
|
||||
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import biomesoplenty.api.biome.BOPBiomes;
|
||||
import biomesoplenty.api.biome.ExtendedBiomeWrapper;
|
||||
import biomesoplenty.api.biome.generation.GeneratorStage;
|
||||
import biomesoplenty.api.biome.generation.GeneratorWeighted;
|
||||
|
@ -19,6 +20,11 @@ public class BiomeExtRoofedForest extends ExtendedBiomeWrapper
|
|||
{
|
||||
super(BiomeGenBase.roofedForest);
|
||||
|
||||
if (BOPBiomes.gravel_beach.isPresent())
|
||||
{
|
||||
this.beachBiomeId = BOPBiomes.gravel_beach.get().biomeID;
|
||||
}
|
||||
|
||||
// grasses
|
||||
GeneratorWeighted grassGenerator = new GeneratorWeighted(2.0F);
|
||||
this.addGenerator("grass", GeneratorStage.GRASS, grassGenerator);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package biomesoplenty.common.biome.vanilla;
|
||||
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import biomesoplenty.api.biome.BOPBiomes;
|
||||
import biomesoplenty.api.biome.ExtendedBiomeWrapper;
|
||||
import biomesoplenty.api.biome.generation.GeneratorStage;
|
||||
import biomesoplenty.api.biome.generation.GeneratorWeighted;
|
||||
|
@ -18,6 +19,11 @@ public class BiomeExtTaiga extends ExtendedBiomeWrapper
|
|||
{
|
||||
super(BiomeGenBase.taiga);
|
||||
|
||||
if (BOPBiomes.gravel_beach.isPresent())
|
||||
{
|
||||
this.beachBiomeId = BOPBiomes.gravel_beach.get().biomeID;
|
||||
}
|
||||
|
||||
// grasses
|
||||
GeneratorWeighted grassGenerator = new GeneratorWeighted(0.5F);
|
||||
this.addGenerator("grass", GeneratorStage.GRASS, grassGenerator);
|
||||
|
|
Loading…
Reference in a new issue