Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Gallad.Mineald.world;
- import Gallad.Mineald.entity.EntityBlueZombie;
- import Gallad.Mineald.entity.EntityLittleSpider;
- import net.minecraft.block.Block;
- import net.minecraft.block.material.Material;
- import net.minecraft.client.main.Main;
- import net.minecraft.entity.monster.EntityBlaze;
- import net.minecraft.entity.monster.EntityCaveSpider;
- import net.minecraft.entity.monster.EntityCreeper;
- import net.minecraft.entity.monster.EntityEnderman;
- import net.minecraft.entity.monster.EntitySkeleton;
- import net.minecraft.entity.monster.EntitySlime;
- import net.minecraft.entity.monster.EntitySpider;
- import net.minecraft.entity.monster.EntityZombie;
- import net.minecraft.world.biome.BiomeGenBase;
- import net.minecraft.world.biome.SpawnListEntry;
- import net.minecraft.world.gen.feature.WorldGenerator;
- public class BiomeGenDark extends BiomeGenBase {
- public final Material blockMaterial;
- public BiomeGenDark(int par1) {
- super(par1);
- this.blockMaterial = Material.water;
- this.minHeight = 0F;
- this.maxHeight = 1.3F;
- this.topBlock = ((byte) Block.grass.blockID);
- this.fillerBlock = ((byte) Block.dirt.blockID);
- this.setBiomeName("DarkWorld");
- this.spawnableMonsterList.add(new SpawnListEntry(EntityBlaze.class,
- 10, 4, 4));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityLittleSpider.class,
- 10, 4, 4));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityCaveSpider.class,
- 10, 4, 4));
- this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10,
- 4, 4));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class,
- 10, 4, 4));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class,
- 10, 1, 10));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityBlueZombie.class,
- 5, 1, 4));
- /**
- * this changes the water colour, its set to red now but ggole the java
- * colours
- **/
- this.waterColorMultiplier = 0x000000;
- }
- public int getBiomeGrassColor()
- {
- return 875000000;
- }
- public int getBiomeFoliageColor()
- {
- return 875000000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement