0rc1nus / Overweight-Farming

This mod expands the farming system in minecraft
Other
9 stars 18 forks source link

Onion block fixes #72

Open Meek97 opened 11 months ago

Meek97 commented 11 months ago

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