Advertisement
totos51

BiomeGenDark

Mar 24th, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. package Gallad.Mineald.world;
  2.  
  3. import Gallad.Mineald.entity.EntityBlueZombie;
  4. import Gallad.Mineald.entity.EntityLittleSpider;
  5. import net.minecraft.block.Block;
  6. import net.minecraft.block.material.Material;
  7. import net.minecraft.client.main.Main;
  8. import net.minecraft.entity.monster.EntityBlaze;
  9. import net.minecraft.entity.monster.EntityCaveSpider;
  10. import net.minecraft.entity.monster.EntityCreeper;
  11. import net.minecraft.entity.monster.EntityEnderman;
  12. import net.minecraft.entity.monster.EntitySkeleton;
  13. import net.minecraft.entity.monster.EntitySlime;
  14. import net.minecraft.entity.monster.EntitySpider;
  15. import net.minecraft.entity.monster.EntityZombie;
  16. import net.minecraft.world.biome.BiomeGenBase;
  17. import net.minecraft.world.biome.SpawnListEntry;
  18. import net.minecraft.world.gen.feature.WorldGenerator;
  19.  
  20. public class BiomeGenDark extends BiomeGenBase {
  21. public final Material blockMaterial;
  22.  
  23. public BiomeGenDark(int par1) {
  24. super(par1);
  25. this.blockMaterial = Material.water;
  26. this.minHeight = 0F;
  27. this.maxHeight = 1.3F;
  28. this.topBlock = ((byte) Block.grass.blockID);
  29. this.fillerBlock = ((byte) Block.dirt.blockID);
  30. this.setBiomeName("DarkWorld");
  31. this.spawnableMonsterList.add(new SpawnListEntry(EntityBlaze.class,
  32. 10, 4, 4));
  33. this.spawnableMonsterList.add(new SpawnListEntry(EntityLittleSpider.class,
  34. 10, 4, 4));
  35. this.spawnableMonsterList.add(new SpawnListEntry(EntityCaveSpider.class,
  36. 10, 4, 4));
  37. this.spawnableMonsterList.add(new SpawnListEntry(EntitySkeleton.class, 10,
  38. 4, 4));
  39. this.spawnableMonsterList.add(new SpawnListEntry(EntityEnderman.class,
  40. 10, 4, 4));
  41. this.spawnableMonsterList.add(new SpawnListEntry(EntityZombie.class,
  42. 10, 1, 10));
  43. this.spawnableMonsterList.add(new SpawnListEntry(EntityBlueZombie.class,
  44. 5, 1, 4));
  45. /**
  46. * this changes the water colour, its set to red now but ggole the java
  47. * colours
  48. **/
  49. this.waterColorMultiplier = 0x000000;
  50. }
  51.  
  52. public int getBiomeGrassColor()
  53. {
  54. return 875000000;
  55. }
  56.  
  57. public int getBiomeFoliageColor()
  58. {
  59. return 875000000;
  60. }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement