Hello, I have a custom drop on the nether wart and I try to make it so that when the player breaks the seed with water, is the block drop in a custom way as I do, is just in a way that water cannot break seeds with water. I currently use a technique which I find is not very clean and TPS friendly, during an update I check if the update is on a seed of late stages (damage 3). If it is the case I look at all the blocks around (27 block in all, 3x3), I check if one of them is an instance of Liquid, if it is the case I destroy (setblock air) the seeds (by way of permissions because the people on my servers get rich in this way while it is prohibited).
PocketMine calculates position of new block (new water) if on that position is seed, just cancel the event.
Uh, i mean how to make that text "BlockSpreadEvent" redirect to https://github.com/pmmp/PocketMine-MP/blob/stable/src/pocketmine/event/block/BlockSpreadEvent.php