public class BlockPistonExtendEvent extends BlockPistonEvent
Event.Resultblock| Constructor and Description |
|---|
BlockPistonExtendEvent(Block block,
int length,
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() |
int |
getLength()
Get the amount of blocks which will be moved while extending.
|
getDirection, isCancelled, isSticky, setCancelledgetBlockgetEventName, isAsynchronouspublic int getLength()
public List<Block> getBlocks()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2014. All rights reserved.