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