public class BlockPistonExtendEvent extends BlockPistonEvent
Event.Resultblock| Constructor and Description | 
|---|
BlockPistonExtendEvent(@NotNull Block block,
                      int length,
                      @NotNull BlockFace direction)
Deprecated.  
 | 
BlockPistonExtendEvent(@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()  | 
int | 
getLength()
Deprecated. 
 
slime blocks make the value of this method
          inaccurate due to blocks being pushed at the side 
 | 
getDirection, isCancelled, isSticky, setCancelledgetBlockgetEventName, isAsynchronous@Deprecated public BlockPistonExtendEvent(@NotNull @NotNull Block block, int length, @NotNull @NotNull BlockFace direction)
@Deprecated public int getLength()
@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.