So at the beginning, I would like to stop growing the wheat on my server. I have already canceled the "BlockGrowEvent" and the "BlockSpreadEvent" ... Additionally I have set in the pocketmine.yml: PHP: disable-block-ticking: - 295 - 296 I do not know what to do any more, my head explodes almost at the moment, the above should actually work. Any idea what I could have done wrong?
That's the wheat's item ID. You need to cancel the event or disable block ticking for wheat's block ID (ID: 59). See: https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/block/BlockIds.php
Even when i disable block-ticking for 59, it still drops... And the events, as I told before, "BlockGrowEvent" / "BlockSpreadEvent" are canceled.
I'm not sure exactly how the disable block ticking works... but I believe wheat has meta attached to it as well. (i'd hope it disables it for all iterations of said block but...) if it's still growing - Have you tried disabling ticking for 59:0, 59:1, 59:2 ... etc? (It goes until 59:7 which is fully grown)
I found a solution. Now I easily disabled the "BlockUpdateEvent" for wheat. But normaly it should work with the "BlockGrowEvent" and the "BlockSpreadEvent"...