类 PistonEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.level.BlockEvent
net.neoforged.neoforge.event.level.PistonEvent
net.neoforged.neoforge.event.level.PistonEvent.Pre
- 所有已实现的接口:
net.neoforged.bus.api.ICancellableEvent
- 封闭类:
PistonEvent
public static class PistonEvent.Pre
extends PistonEvent
implements net.neoforged.bus.api.ICancellableEvent
Fires before the piston has updated block states. Cancellation prevents movement.
-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.level.PistonEvent
PistonEvent.PistonMoveType, PistonEvent.Post, PistonEvent.Pre
从类继承的嵌套类/接口 net.neoforged.neoforge.event.level.BlockEvent
BlockEvent.BlockToolModificationEvent, BlockEvent.BreakEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.neoforged.neoforge.event.level.PistonEvent
getDirection, getFaceOffsetPos, getPistonMoveType, getStructureHelper
从类继承的方法 net.neoforged.neoforge.event.level.BlockEvent
getLevel, getPos, getState
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
构造器详细资料
-
Pre
-