Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.craftesys.crftesys.biome;
- import java.util.Random;
- import net.minecraft.world.gen.feature.WorldGenTrees;
- import net.minecraft.world.gen.feature.WorldGenerator;
- public class Arbre {
- public Arbre(int par1) {
- super();
- }
- this.spawnableCreatureList.add(new SpawnListEntry(EntityCreatureTutorial.class, 10, 3, 6));
- this.spawnableMonsterList.add(new SpawnListEntry(EntityMonsterTutorial.class, 10, 3, 6));
- this.spawnableWaterCreatureList.add(new SpawnListEntry(EntityWaterTutorial.class, 10, 3, 6));
- this.spawnableCaveCreatureList.add(new SpawnListEntry(EntityCaveTutorial.class, 10, 3, 6));
- this.topBlock = (byte)Block.blockRedstone.blockID;
- this.fillerBlock = (byte)Block.blockRedstone.blockID;
- this.theBiomeDecorator.treesPerChunk = 10;
- this.waterColorMultiplier = 0x00FFFF;
- this.grassPerChunk = 1;
- public WorldGenerator getRandomWorldGenForTrees(Random par1Random){
- return (WorldGenerator)(par1Random.nextInt(5) == 0 ? new WorldGenTrees(false, 4, 2, 2, false) : (par1Random.nextInt(10) == 0 ? this.worldGeneratorBigTree : new WorldGenTrees(false, 40, 0, 0, true)));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement