public class BlockPistonRetractEvent extends BlockPistonEvent
Event.Result
block
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, setCancelled
getBlock
getEventName, isAsynchronous
public Location getRetractLocation()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2014. All rights reserved.