Tweaked some biomes. Changed the level of slowness mudballs give when hitting entities.

This commit is contained in:
Matt Caughey 2013-05-07 00:41:56 -04:00
parent 0b8635fbf8
commit f7ae70170f
7 changed files with 26 additions and 7 deletions

View file

@ -34,6 +34,7 @@ public class BiomeGenBayou extends BiomeGenBase
this.customBiomeDecorator.waterlilyPerChunk = 2;
this.customBiomeDecorator.cattailsPerChunk = 1;
this.customBiomeDecorator.highCattailsPerChunk = 1;
this.customBiomeDecorator.waterLakesPerChunk = 2;
this.customBiomeDecorator.algaePerChunk = 1;
this.customBiomeDecorator.generatePumpkins = false;
this.waterColorMultiplier = 16767282;

View file

@ -3,15 +3,20 @@ package biomesoplenty.biomes;
import java.awt.Color;
import java.util.Random;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPConfiguration;
import biomesoplenty.worldgen.WorldGenMoss;
import biomesoplenty.worldgen.WorldGenSwampTall;
import biomesoplenty.worldgen.WorldGenTaiga5;
import biomesoplenty.worldgen.WorldGenThickTree;
import biomesoplenty.worldgen.WorldGenWillow;
import net.minecraft.block.Block;
import net.minecraft.entity.passive.EntityMooshroom;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenFungiForest extends BiomeGenBase
@ -24,11 +29,15 @@ public class BiomeGenFungiForest extends BiomeGenBase
super(par1);
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
this.customBiomeDecorator.treesPerChunk = 4;
this.customBiomeDecorator.grassPerChunk = 5;
this.customBiomeDecorator.treesPerChunk = 8;
this.customBiomeDecorator.grassPerChunk = 6;
this.customBiomeDecorator.sproutsPerChunk = 2;
this.customBiomeDecorator.bushesPerChunk = 2;
this.customBiomeDecorator.highGrassPerChunk = 1;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.mushroomsPerChunk = 8;
this.customBiomeDecorator.bigMushroomsPerChunk = 4;
this.customBiomeDecorator.poisonIvyPerChunk = 2;
this.customBiomeDecorator.bigMushroomsPerChunk = 8;
this.customBiomeDecorator.toadstoolsPerChunk = 5;
this.customBiomeDecorator.portobellosPerChunk = 7;
this.customBiomeDecorator.blueMilksPerChunk = 4;
@ -62,7 +71,15 @@ public class BiomeGenFungiForest extends BiomeGenBase
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenThickTree(false) : new WorldGenSwampTall());
return (WorldGenerator)(par1Random.nextInt(2) == 0 ? new WorldGenThickTree(false) : (par1Random.nextInt(4) == 0 ? new WorldGenWillow() : (par1Random.nextInt(6) == 0 ? new WorldGenTaiga5(false) : new WorldGenSwampTall())));
}
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(3) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 2) : (par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1))));
}
/**

View file

@ -33,6 +33,7 @@ public class BiomeGenMoor extends BiomeGenBase
this.customBiomeDecorator.sandPerChunk2 = -999;
this.customBiomeDecorator.mudPerChunk = 1;
this.customBiomeDecorator.mudPerChunk2 = 1;
this.customBiomeDecorator.waterLakesPerChunk = 5;
this.waterColorMultiplier = 5800566;
this.customBiomeDecorator.generatePumpkins = false;
}

View file

@ -43,6 +43,6 @@ public class BiomeGenSavanna extends BiomeGenBase
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
}
}

View file

@ -37,7 +37,7 @@ public class BiomeGenSteppe extends BiomeGenBase
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return (par1Random.nextInt(8) == 0 ? new WorldGenTallGrass(Block.tallGrass.blockID, 1) : (par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1)));
return new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
}
/**

View file

@ -37,7 +37,7 @@ public class EntityMudball extends EntityThrowable
if (par1MovingObjectPosition.entityHit != null)
{
par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), 0);
((EntityLiving)par1MovingObjectPosition.entityHit).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 200, 4));
((EntityLiving)par1MovingObjectPosition.entityHit).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, 400, 2));
}
for (int i = 0; i < 16; ++i)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 274 B