Started by
SilverRalph64
on
Topic category: Feature requests and ideas for MCreator
I would love it if you could specifically determine what blocks a plant can spawn on, and not just using the Cactus/Desert template or the Beach/sugarcane spawning rules for growable plants; I mean like one of the parameters that are currently used to select more than one block (like in structure spawning).
Basically I'd love a way to make my plant spawn on both all dirt and all sand.
For this all you have to do is make it so on block update tick check what block is beneath it, so y-1, if its not dirt or sand, it breaks without a drop
"For this all you have to do is make it so on block update tick"
Preferably use on block added + on neighbour change. Otherwise the block will go through a lot of checks even though there's nothing that could have changed the block below it, making the redundant checks waste valuable computer resources.
If you use On Block Added + On Neighbour chance, then the block only checks upon being placed and once the ground has changed below it. If you place the plant and remove the block 10 minute later for example, then it will have only checked the block below it twice, where as in the case of On Tick Update, the plant will have had to check the block below it 12.000 times.