Class PistonEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
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.