org.bukkit.event.block
Class BlockPistonRetractEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockPistonEvent
org.bukkit.event.block.BlockPistonRetractEvent
- All Implemented Interfaces:
- Cancellable
public class BlockPistonRetractEvent
- extends BlockPistonEvent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockPistonRetractEvent
public BlockPistonRetractEvent(Block block,
BlockFace direction)
getRetractLocation
public Location getRetractLocation()
- Gets the location where the possible moving block might be if the retracting
piston is sticky.
- Returns:
- The possible location of the possibly moving block.
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.