public class BlockPistonRetractEvent extends BlockPistonEvent
Event.Resultblock| Constructor and Description |
|---|
BlockPistonRetractEvent(Block block,
List<Block> blocks,
BlockFace direction) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDirection, isCancelled, isSticky, setCancelledgetBlockgetEventName, isAsynchronous@Deprecated public Location getRetractLocation()
public List<Block> getBlocks()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2017. All rights reserved.