MysticMods/common/MysticWorld/Biome/BiomeGenBasic.java

25 lines
854 B
Java

package mysticworld.biome;
import java.util.Random;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.monster.EntityGhast;
import net.minecraft.entity.monster.EntityGiantZombie;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.SpawnListEntry;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenBasic extends BiomeGenBase {
public BiomeGenBasic(int id, int treesChunk, int grassChunk, int flowerChunk, int reedsChunk, int blockTop, int blockFiller) {
super(id);
this.topBlock = (byte) blockTop;
this.fillerBlock = (byte) blockFiller;
this.theBiomeDecorator.treesPerChunk = treesChunk;
this.theBiomeDecorator.grassPerChunk = grassChunk;
this.theBiomeDecorator.flowersPerChunk = flowerChunk;
this.theBiomeDecorator.reedsPerChunk = reedsChunk;;
}
}