类 CropGrowEvent.Post
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.BlockEvent
net.neoforged.neoforge.event.level.block.CropGrowEvent
net.neoforged.neoforge.event.level.block.CropGrowEvent.Post
- 封闭类:
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 only fired on the logical server.
-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.level.block.CropGrowEvent
CropGrowEvent.Post, CropGrowEvent.Pre
从类继承的嵌套类/接口 net.neoforged.neoforge.event.level.BlockEvent
BlockEvent.BlockToolModificationEvent, BlockEvent.BreakEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明返回 the original state of the crop before growing。getState()
返回 the new state of the crop after growing。从类继承的方法 net.neoforged.neoforge.event.level.BlockEvent
getLevel, getPos
-
字段详细资料
-
originalState
-
-
构造器详细资料
-
Post
-
-
方法详细资料
-
getOriginalState
返回 the original state of the crop before growing。- 返回:
- the original state of the crop before growing
-
getState
返回 the new state of the crop after growing。- 覆盖:
getState
在类中BlockEvent
- 返回:
- the new state of the crop after growing
-