When you use bonemeal on a planted two high flower, for example a rosebush. The rosebush, rather than ignoring the bonemeal, excretes a baby of its own kind.
Linked issues
is duplicated by 8
relates to 2
Attachments
Comments 9
As it is the only way to reproduce them, I would say yes, it's most likely intended. You can grow small flowers with bonemeal too (often producing more than one flower), why shouldn't there be a way to do it with larger flowers?
@Christian Codreanu:
What do you mean with "fix it"? How else should reproduction of tall flowers work? I can't see a bug here. I would close this as "works as intended".
I don't think that works like intended. Normally drops appear when a block gets broken or a mob dies. Bonemealing on the other hand only makes things grow. The bug is probably that the flower tries to grow a third block, but because it can't be placed, it drops.
public boolean canGrow(World worldIn, BlockPos pos, IBlockState state, boolean isClient)
{
BlockDoublePlant.EnumPlantType blockdoubleplant$enumplanttype = this.getType(worldIn, pos, state);
return blockdoubleplant$enumplanttype != BlockDoublePlant.EnumPlantType.GRASS && blockdoubleplant$enumplanttype != BlockDoublePlant.EnumPlantType.FERN;
}
public boolean canUseBonemeal(World worldIn, Random rand, BlockPos pos, IBlockState state)
{
return true;
}
public void grow(World worldIn, Random rand, BlockPos pos, IBlockState state)
{
spawnAsEntity(worldIn, pos, new ItemStack(this, 1, this.getType(worldIn, pos, state).getMeta()));
}
Confirmed.