CropGrowPreEvent

Link to cropgrowpreevent

The event is not cancelable.

The event has a result.

If result is set to default, the default vanilla growth mechanics will run.

If result is set to allow, it will force the plant to advance a growth stage.

If result is set to deny, it will prevent the plant from advancing a growth stage

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.event.block.crop.CropGrowPreEvent;

Extending CropGrowEvent

Link to extending-cropgrowevent

CropGrowPreEvent extends CropGrowEvent. That means all methods available in CropGrowEvent are also available in CropGrowPreEvent