public BiomeFluxed(BiomeProperties properties) {
super(properties);
decorator.treesPerChunk = 0;
decorator.extraTreeChance = 0.2F;
decorator.flowersPerChunk = 15;
decorator.grassPerChunk = 15;
decorator.reedsPerChunk = 2;
spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 4));
spawnableCreatureList.add(new SpawnListEntry(EntityDonkey.class, 1, 1, 2));
this.flowers.clear();
for (BlockFlower.EnumFlowerType type : BlockFlower.EnumFlowerType.values()) {
if (type.getBlockType() == BlockFlower.EnumFlowerColor.YELLOW) {
continue;
}
if (type == BlockFlower.EnumFlowerType.BLUE_ORCHID) {
type = BlockFlower.EnumFlowerType.POPPY;
}
addFlower(net.minecraft.init.Blocks.RED_FLOWER.getDefaultState().withProperty(net.minecraft.init.Blocks.RED_FLOWER.getTypeProperty(), type), 10);
}
}