Class PistonEvent.Post
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.Post
- Enclosing class:
PistonEvent
Fires after the piston has moved and set surrounding states. This will not fire if
PistonEvent.Pre
is cancelled.-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.level.PistonEvent
PistonEvent.PistonMoveType, PistonEvent.Post, PistonEvent.Pre
Nested classes/interfaces inherited from class net.neoforged.neoforge.event.level.BlockEvent
BlockEvent.BlockToolModificationEvent, BlockEvent.BreakEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
-
Constructor Summary
ConstructorDescriptionPost
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) -
Method Summary
Methods inherited from class net.neoforged.neoforge.event.level.PistonEvent
getDirection, getFaceOffsetPos, getPistonMoveType, getStructureHelper
Methods inherited from class net.neoforged.neoforge.event.level.BlockEvent
getLevel, getPos, getState
-
Constructor Details
-
Post
-