Class BlockEvent.CropGrowEvent.Pre

  • Enclosing class:
    BlockEvent.CropGrowEvent

    public static class BlockEvent.CropGrowEvent.Pre
    extends BlockEvent.CropGrowEvent
    Fired when any "growing age" blocks (for example cacti, chorus plants, or crops in vanilla) attempt to advance to the next growth age state during a random tick.

    Event.Result.DEFAULT will pass on to the vanilla growth mechanics.
    Event.Result.ALLOW will force the plant to advance a growth stage.
    Event.Result.DENY will prevent the plant from advancing a growth stage.

    This event is not Cancelable.