public static class BlockEvent.CropGrowEvent.Pre extends BlockEvent.CropGrowEvent
Result#DEFAULT will pass on to the vanilla growth mechanics.Result#ALLOW will force the plant to advance a growth stage.Result#DENY will prevent the plant from advancing a growth stage.Cancelable.BlockEvent.CropGrowEvent.Post, BlockEvent.CropGrowEvent.PreBlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEvent, BlockEvent.PortalSpawnEventEvent.HasResult, Event.Result| Constructor and Description |
|---|
Pre(World world,
BlockPos pos,
IBlockState state) |
getPos, getState, getWorldgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic Pre(World world, BlockPos pos, IBlockState state)