As it is (at least for Fabric 1.20, I haven't tested or confirmed this on other versions), players are only allowed to place Overweight Onion blocks on top of an Allium Bush block.
Additionally, since the Allium Bush block is a standard TallFlowerBlock, it is not allowed to be placed on top of an Overweight Onion block. When an Overweight Onion is grown, the bush breaks off immediately.
Basically all I did was create an AlliumBushBlock class, and moved the block placement restrictions from the OverweightOnionBlock, and modified to work for the Allium Bush
As it is (at least for Fabric 1.20, I haven't tested or confirmed this on other versions), players are only allowed to place Overweight Onion blocks on top of an Allium Bush block.
Additionally, since the Allium Bush block is a standard
TallFlowerBlock
, it is not allowed to be placed on top of an Overweight Onion block. When an Overweight Onion is grown, the bush breaks off immediately.Basically all I did was create an
AlliumBushBlock
class, and moved the block placement restrictions from theOverweightOnionBlock
, and modified to work for the Allium Bush