public class BlockPistonRetractEvent extends BlockPistonEvent
Event.Resultblock| 构造器和说明 |
|---|
BlockPistonRetractEvent(Block block,
java.util.List<Block> blocks,
BlockFace direction) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<Block> |
getBlocks()
获取被活塞移动的不可改变的方块列表.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getRetractLocation()
已过时。
|
getDirection, isCancelled, isSticky, setCancelledgetBlockgetEventName, isAsynchronous@Deprecated public Location getRetractLocation()
原文:Gets the location where the possible moving block might be if the retracting piston is sticky.
public java.util.List<Block> getBlocks()
原文:Get an immutable list of the blocks which will be moved by the extending.
public HandlerList getHandlers()
getHandlers 在类中 Eventpublic static HandlerList getHandlerList()