public class BlockPistonRetractEvent extends BlockPistonEvent
Event.Resultblock| Constructor and Description |
|---|
BlockPistonRetractEvent(Block block,
BlockFace direction) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getRetractLocation()
Gets the location where the possible moving block might be if the
retracting piston is sticky.
|
getDirection, isCancelled, isSticky, setCancelledgetBlockgetEventName, isAsynchronouspublic Location getRetractLocation()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2014. All rights reserved.