Class BlockPistonRetractEvent

    • Method Detail

      • getRetractLocation

        @Deprecated
        @NotNull
        public Location getRetractLocation()
        Deprecated.
        Gets the location where the possible moving block might be if the retracting piston is sticky.
        Returns:
        The possible location of the possibly moving block.
      • getBlocks

        @NotNull
        public List<Block> getBlocks()
        Get an immutable list of the blocks which will be moved by the extending.
        Returns:
        Immutable list of the moved blocks.