Cancellablepublic class BlockPistonRetractEvent extends BlockPistonEvent
Event.Resultblock| Constructor | Description | 
|---|---|
| BlockPistonRetractEvent(@NotNull Block block,
                       @NotNull List<Block> blocks,
                       @NotNull BlockFace direction) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull List<Block> | getBlocks() | Get an immutable list of the blocks which will be moved by the
 extending. | 
| static @NotNull HandlerList | getHandlerList() | |
| @NotNull HandlerList | getHandlers() | |
| @NotNull Location | getRetractLocation() | Deprecated.  | 
getBlockgetDirection, isCancelled, isSticky, setCancelledgetEventName, isAsynchronous@Deprecated @NotNull public @NotNull Location getRetractLocation()
@NotNull public @NotNull List<Block> getBlocks()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.