Cancellable
public class BlockPistonRetractEvent extends BlockPistonEvent
Event.Result
block
Constructor | Description |
---|---|
BlockPistonRetractEvent(Block block,
List<Block> blocks,
BlockFace direction) |
Modifier and Type | Method | Description |
---|---|---|
List<Block> |
getBlocks() |
Get an immutable list of the blocks which will be moved by the
extending.
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
Location |
getRetractLocation() |
Deprecated.
|
getBlock
getDirection, isCancelled, isSticky, setCancelled
getEventName, isAsynchronous
@Deprecated @NotNull public Location getRetractLocation()
@NotNull public List<Block> getBlocks()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.