类 BlockPistonRetractEvent

所有已实现的接口:
Cancellable

public class BlockPistonRetractEvent extends BlockPistonEvent
活塞臂缩回事件
  • 构造器详细资料

  • 方法详细资料

    • getRetractLocation

      @Deprecated public Location getRetractLocation()
      已过时。
      如果缩回的活塞是粘性的,获取被这个活塞粘住的方块的位置.

      原文:Gets the location where the possible moving block might be if the retracting piston is sticky.

      返回:
      这个活塞粘住的方块的位置
    • getBlocks

      public List<Block> getBlocks()
      获取被活塞移动的不可改变的方块列表.

      原文:Get an immutable list of the blocks which will be moved by the extending.

      返回:
      被活塞移动的方块列表.
    • getHandlers

      public HandlerList getHandlers()
      指定者:
      getHandlers 在类中 Event
    • getHandlerList

      public static HandlerList getHandlerList()