Class TargetBlockInfo

java.lang.Object
com.destroystokyo.paper.block.TargetBlockInfo

@Deprecated(forRemoval=true, since="1.19.3") public class TargetBlockInfo extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Represents information about a targeted block
  • Constructor Details

  • Method Details

    • getBlock

      @NotNull public @NotNull Block getBlock()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the block that is targeted
      Returns:
      Targeted block
    • getBlockFace

      @NotNull public @NotNull BlockFace getBlockFace()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the targeted BlockFace
      Returns:
      Targeted blockface
    • getRelativeBlock

      @NotNull public @NotNull Block getRelativeBlock()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the relative Block to the targeted block on the side it is targeted at
      Returns:
      Block relative to targeted block