Package net.minecraftforge.event.level
Class BlockEvent.CropGrowEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.BlockEvent
net.minecraftforge.event.level.BlockEvent.CropGrowEvent
net.minecraftforge.event.level.BlockEvent.CropGrowEvent.Pre
- Enclosing class:
- 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.
This event is not
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
.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.event.level.BlockEvent.CropGrowEvent
BlockEvent.CropGrowEvent.Post, BlockEvent.CropGrowEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.event.level.BlockEvent
BlockEvent.BlockToolModificationEvent, BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.event.level.BlockEvent
getLevel, getPos, getState
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
-