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.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result
-
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
Methods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
-
Constructor Details
-
Post
-