public class WorldGenFlowers extends WorldGenerator
Modifier and Type | Field and Description |
---|---|
private BlockFlower |
flower |
private IBlockState |
state |
Constructor and Description |
---|
WorldGenFlowers(BlockFlower flowerIn,
BlockFlower.EnumFlowerType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
void |
setGeneratedBlock(BlockFlower flowerIn,
BlockFlower.EnumFlowerType typeIn) |
setBlockAndNotifyAdequately, setDecorationDefaults
private BlockFlower flower
private IBlockState state
public WorldGenFlowers(BlockFlower flowerIn, BlockFlower.EnumFlowerType type)
public void setGeneratedBlock(BlockFlower flowerIn, BlockFlower.EnumFlowerType typeIn)
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator