Added slimes to other swampy biomes. Added poison dart textures. Tweaked crafting recipes and Promised Land biomes.

This commit is contained in:
Matt Caughey 2013-05-12 05:55:44 -04:00
parent 29dc9f97e6
commit 5563b518c5
15 changed files with 35 additions and 14 deletions

View file

@ -9,8 +9,10 @@ import biomesoplenty.worldgen.WorldGenBayou2;
import biomesoplenty.worldgen.WorldGenBayou3;
import biomesoplenty.worldgen.WorldGenMoss;
import net.minecraft.entity.monster.EntitySlime;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenBayou extends BiomeGenBase
@ -39,6 +41,7 @@ public class BiomeGenBayou extends BiomeGenBase
this.customBiomeDecorator.generatePumpkins = false;
this.waterColorMultiplier = 16767282;
this.spawnableWaterCreatureList.clear();
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}
/**

View file

@ -9,7 +9,9 @@ import biomesoplenty.configuration.BOPConfiguration;
import biomesoplenty.worldgen.WorldGenDeadTree;
import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySlime;
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;
@ -35,6 +37,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase
this.spawnableCreatureList.clear();
this.spawnableWaterCreatureList.clear();
this.waterColorMultiplier = 10661201;
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}
/**

View file

@ -10,9 +10,11 @@ import biomesoplenty.worldgen.WorldGenFen2;
import biomesoplenty.worldgen.WorldGenMoss;
import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySlime;
import net.minecraft.item.ItemStack;
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;
@ -41,6 +43,7 @@ public class BiomeGenFen extends BiomeGenBase
this.customBiomeDecorator.reedsBOPPerChunk = 5;
this.customBiomeDecorator.algaePerChunk = 1;
this.customBiomeDecorator.portobellosPerChunk = 1;
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}
/**

View file

@ -7,9 +7,11 @@ import biomesoplenty.configuration.BOPBlocks;
import biomesoplenty.worldgen.WorldGenMarsh;
import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySlime;
import net.minecraft.item.ItemStack;
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;
@ -29,6 +31,7 @@ public class BiomeGenMarsh extends BiomeGenBase
this.customBiomeDecorator.grassPerChunk = 65;
this.customBiomeDecorator.highGrassPerChunk = 25;
this.customBiomeDecorator.generatePumpkins = false;
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}
public void decorate(World par1World, Random par2Random, int par3, int par4)

View file

@ -15,6 +15,7 @@ import biomesoplenty.worldgen.WorldGenWaterSpring;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenMinable;
import net.minecraft.world.gen.feature.WorldGenerator;
@ -91,7 +92,7 @@ public class BiomeGenPromisedLandForest extends BiomeGenBase
{
if (BOPConfiguration.skyColors = true)
{
return BOPConfiguration.pLForestSkyColour;
return BOPConfiguration.promisedLandSkyColor;
}
else
{

View file

@ -14,8 +14,10 @@ import biomesoplenty.worldgen.WorldGenPromisedTree3;
import biomesoplenty.worldgen.WorldGenWaterSpring;
import net.minecraft.block.Block;
import net.minecraft.entity.passive.EntityChicken;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenMinable;
import net.minecraft.world.gen.feature.WorldGenerator;
@ -48,6 +50,7 @@ public class BiomeGenPromisedLandPlains extends BiomeGenBase
this.customBiomeDecorator.generateClouds = true;
//this.customBiomeDecorator.generateLakes = false;
this.theWorldGenerator = new WorldGenWaterSpring(Block.waterMoving.blockID, 8);
this.spawnableCreatureList.add(new SpawnListEntry(EntityChicken.class, 10, 4, 4));
}
/**
@ -90,7 +93,7 @@ public class BiomeGenPromisedLandPlains extends BiomeGenBase
{
if (BOPConfiguration.skyColors = true)
{
return BOPConfiguration.pLPlainsSkyColour;
return BOPConfiguration.promisedLandSkyColor;
}
else
{

View file

@ -12,8 +12,10 @@ import biomesoplenty.worldgen.WorldGenPromisedWillowTree;
import biomesoplenty.worldgen.WorldGenWaterSpring;
import net.minecraft.block.Block;
import net.minecraft.entity.passive.EntityPig;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenPromisedLandSwamp extends BiomeGenBase
@ -47,6 +49,7 @@ public class BiomeGenPromisedLandSwamp extends BiomeGenBase
this.spawnableCaveCreatureList.clear();
this.customBiomeDecorator.generatePumpkins = false;
this.customBiomeDecorator.generateClouds = true;
this.spawnableCreatureList.add(new SpawnListEntry(EntityPig.class, 10, 4, 4));
//this.customBiomeDecorator.generateLakes = false;
this.theWorldGenerator = new WorldGenWaterSpring(Block.waterMoving.blockID, 8);
}
@ -91,7 +94,7 @@ public class BiomeGenPromisedLandSwamp extends BiomeGenBase
{
if (BOPConfiguration.skyColors = true)
{
return BOPConfiguration.pLSwampSkyColour;
return BOPConfiguration.promisedLandSkyColor;
}
else
{

View file

@ -3,7 +3,9 @@ package biomesoplenty.biomes;
import java.awt.Color;
import java.util.Random;
import net.minecraft.entity.monster.EntitySlime;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPConfiguration;
@ -29,6 +31,7 @@ public class BiomeGenQuagmire extends BiomeGenBase
this.customBiomeDecorator.sandPerChunk2 = -999;
this.waterColorMultiplier = 13390080;
this.customBiomeDecorator.generateQuagmire = true;
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
}
/**

View file

@ -8,6 +8,7 @@ import biomesoplenty.worldgen.WorldGenCypress;
import biomesoplenty.worldgen.WorldGenMarsh;
import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySlime;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;

View file

@ -7,8 +7,10 @@ import biomesoplenty.worldgen.WorldGenTaiga5;
import biomesoplenty.worldgen.WorldGenWillow;
import net.minecraft.block.Block;
import net.minecraft.entity.monster.EntitySlime;
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;
@ -41,6 +43,7 @@ public class BiomeGenWetland extends BiomeGenBase
this.customBiomeDecorator.portobellosPerChunk = 1;
this.spawnableCreatureList.clear();
this.spawnableWaterCreatureList.clear();
this.spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
this.waterColorMultiplier = 6512772;
}

View file

@ -21,9 +21,7 @@ public class BOPConfiguration {
public static int promisedLandDimID;
public static int pLSwampSkyColour;
public static int pLPlainsSkyColour;
public static int pLForestSkyColour;
public static int promisedLandSkyColor;
public static boolean alpsGen;
public static boolean arcticGen;
@ -422,12 +420,10 @@ public class BOPConfiguration {
if (villageDistance < 8)
villageDistance = 8;
//Sky colour
skyColors = config.get("Sky Colours", "Enable Sky Colours", true).getBoolean(false);
//Hard-Coded Colors
skyColors = config.get("Hard-Coded Colors", "Enable Sky Colors", true).getBoolean(false);
pLSwampSkyColour = config.get("Sky Colours", "Promised Land Swamp Sky Colour", 50175, null).getInt();
pLPlainsSkyColour = config.get("Sky Colours", "Promised Land Plains Sky Colour", 50175, null).getInt();
pLForestSkyColour = config.get("Sky Colours", "Promised Land Forest Sky Colour", 50175, null).getInt();
promisedLandSkyColor = config.get("Hard-Coded Colors", "Promised Land Sky Color", 50175, null).getInt();
//Biome generation
alpsGen = config.get("Biomes To Generate", "Alps", true).getBoolean(false);

View file

@ -156,9 +156,8 @@ public class BOPCrafting
//Dart Blower
GameRegistry.addRecipe(new ItemStack(Items.dartBlower.get(), 1), new Object[] {"R R", "R R", "R R", Character.valueOf('R'), new ItemStack(Blocks.plants.get(), 1, 8)});
GameRegistry.addRecipe(new ItemStack(Items.dart.get(), 4, 0), new Object[] {"T", "R", Character.valueOf('T'), new ItemStack(Blocks.plants.get(), 1, 5), Character.valueOf('R'), new ItemStack(Blocks.plants.get(), 1, 7)});
GameRegistry.addRecipe(new ItemStack(Items.dart.get(), 4, 1), new Object[] {"P", "T", "R", Character.valueOf('P'), new ItemStack(Items.miscItems.get(), 1, 3), Character.valueOf('T'), new ItemStack(Blocks.plants.get(), 1, 5), Character.valueOf('R'), new ItemStack(Blocks.plants.get(), 1, 7)});
GameRegistry.addRecipe(new ItemStack(Items.dart.get(), 4, 1), new Object[] {" D ", "DPD", " D ", Character.valueOf('P'), new ItemStack(Items.miscItems.get(), 1, 3), Character.valueOf('D'), new ItemStack(Items.dart.get(), 1, 0)});
GameRegistry.addRecipe(new ItemStack(Items.dart.get(), 4, 0), new Object[] {"T", "R", "F", Character.valueOf('T'), new ItemStack(Blocks.plants.get(), 1, 5), Character.valueOf('R'), new ItemStack(Blocks.plants.get(), 1, 8), Character.valueOf('F'), Item.feather});
GameRegistry.addRecipe(new ItemStack(Items.dart.get(), 1, 1), new Object[] {"P", "D", Character.valueOf('P'), new ItemStack(Items.miscItems.get(), 1, 3), Character.valueOf('D'), new ItemStack(Items.dart.get(), 1, 0)});
GameRegistry.addRecipe(new ItemStack(Blocks.planks.get(), 1, 10), new Object[] {"##", "##", '#', Blocks.bamboo.get()});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 273 B