Package net.minecraftforge.event.world
Class BlockEvent.CropGrowEvent.Post
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.world.BlockEvent
-
- net.minecraftforge.event.world.BlockEvent.CropGrowEvent
-
- net.minecraftforge.event.world.BlockEvent.CropGrowEvent.Post
-
- Enclosing class:
- BlockEvent.CropGrowEvent
public static class BlockEvent.CropGrowEvent.Post extends BlockEvent.CropGrowEvent
Fired when "growing age" blocks (for example cacti, chorus plants, or crops in vanilla) have successfully grown. The block's original state is available, in addition to its new state.
This event is notCancelable
.
This event does not have a result.Event.HasResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.BlockEvent.CropGrowEvent
BlockEvent.CropGrowEvent.Post, BlockEvent.CropGrowEvent.Pre
-
Nested classes/interfaces inherited from class net.minecraftforge.event.world.BlockEvent
BlockEvent.BlockToolInteractEvent, BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
-
-
Field Summary
Fields Modifier and Type Field Description private BlockState
originalState
-
Constructor Summary
Constructors Constructor Description Post(World world, BlockPos pos, BlockState original, BlockState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getOriginalState()
-
Methods inherited from class net.minecraftforge.event.world.BlockEvent
getPos, getState, getWorld
-
-
-
-
Field Detail
-
originalState
private final BlockState originalState
-
-
Constructor Detail
-
Post
public Post(World world, BlockPos pos, BlockState original, BlockState state)
-
-
Method Detail
-
getOriginalState
public BlockState getOriginalState()
-
-