In my server, we make some parkours which use CocoaBlock. CocoaBlock has many form. Then i use them. For instance, When i want use the small form of this block (ID:META = 127:4), i use "//set 127:4" on WorldEdit Plugin. However, a few moment passed, this CocoaBlock grows up. I thought over. "Dose the problem solve that it cancel BlockGrowEvent... ?" I tried canceling it. but it didn't solve. I thought over again. Deep thinking i tried. "The better way is to cancel BlockUpdateEvent!!!!" I tried canceling it. BUT! the CocoaBlock didn't response my hoping. How do i do it? I want you to advise. My code: PHP: public function onGrow(\pocketmine\event\block\BlockGrowEvent $event) { $block = $event->getBlock(); if ($block->getId() == 127) $event->setCancelled();}public function onUpdate(\pocketmine\event\block\BlockUpdateEvent $event) { $block = $event->getBlock(); if ($block->getId() == 127) $event->setCancelled();}
Cocoa blocks tick randomly. You can stop them from growing by configuring it in pocketmine.yml. PHP: chunk-ticking: disable-block-ticking: - 127
Alternatively, just don't use dev builds, since that's the only place you'll find working cocoa pods.