public interface IFlowerGrowthHelper
| Modifier and Type | Method and Description |
|---|---|
boolean |
plantRandomFlower(java.lang.String flowerType,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Deprecated.
since Forestry 5.5.4. Use
plantRandomFlower(String, World, BlockPos, Collection) |
boolean |
plantRandomFlower(java.lang.String flowerType,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
java.util.Collection<net.minecraft.block.state.IBlockState> potentialFlowers)
Plants a random flower from flowerType at the specified position.
|
@Deprecated
boolean plantRandomFlower(java.lang.String flowerType,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
plantRandomFlower(String, World, BlockPos, Collection)boolean plantRandomFlower(java.lang.String flowerType,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
java.util.Collection<net.minecraft.block.state.IBlockState> potentialFlowers)
flowerType - the flower type that can be plantedworld - the world to plant flowers inpos - the position to plant the flowerspotentialFlowers - the potential flowers that can be planted