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