Advertisement
Guest User

Biome Class

a guest
Apr 19th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. package mymod.biome;
  2.  
  3. import mymod.main.Main;
  4. import net.minecraft.block.Block;
  5. import net.minecraft.entity.monster.EntityCreeper;
  6. import net.minecraft.entity.monster.EntityEnderman;
  7. import net.minecraft.entity.monster.EntityGiantZombie;
  8. import net.minecraft.init.Blocks;
  9. import net.minecraft.world.biome.BiomeGenBase;
  10.  
  11. public class NioBiome extends BiomeGenBase
  12. {
  13. public NioBiome(int par1)
  14. {
  15. super(par1);
  16.  
  17. this.setBiomeName("The Nio");
  18.  
  19. this.topBlock = Main.nioGrass;
  20. this.fillerBlock = Main.MyBlock_2;
  21.  
  22.  
  23.  
  24. this.theBiomeDecorator.treesPerChunk = 8;
  25. this.theBiomeDecorator.bigMushroomsPerChunk = 3;
  26. this.theBiomeDecorator.generateLakes = true;
  27.  
  28. this.spawnableCreatureList.add(new SpawnListEntry(mymod.entity.ogre.MyEntityOgre.class, 5, 2, 6));
  29. this.spawnableCreatureList.add(new SpawnListEntry(EntityCreeper.class, 20, 5, 15));
  30. this.spawnableCreatureList.add(new SpawnListEntry(EntityEnderman.class,15, 8, 12));
  31. this.spawnableCreatureList.add(new SpawnListEntry(EntityGiantZombie.class,20, 1, 5));
  32.  
  33.  
  34. this.setHeight(mymod.main.Main.height_Nio);
  35. this.setTemperatureRainfall(0.5F, 1.0F);
  36. this.canSpawnLightningBolt();
  37.  
  38. }
  39.  
  40. private void setMinMaxHeight(float f, float g) {
  41. // TODO Auto-generated method stub
  42.  
  43. }
  44.  
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement