Package 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
Called when a piston retracts
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.block.BlockEventblock
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet an immutable list of the blocks which will be moved by the extending.static @NotNull HandlerListDeprecated.Methods inherited from class org.bukkit.event.block.BlockPistonEventgetDirection, isCancelled, isSticky, setCancelledMethods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
BlockPistonRetractEvent
 
- 
- 
Method Details- 
getRetractLocationDeprecated.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.
 
- 
getBlocksGet an immutable list of the blocks which will be moved by the extending.- Returns:
- Immutable list of the moved blocks.
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-