public static class BlockEvent.CropGrowEvent.Pre extends BlockEvent.CropGrowEvent
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.Cancelable
.BlockEvent.CropGrowEvent.Post, BlockEvent.CropGrowEvent.Pre
BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
Pre(World world,
BlockPos pos,
IBlockState state) |
getPos, getState, getWorld
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public Pre(World world, BlockPos pos, IBlockState state)