Package com.destroystokyo.paper.block
Class TargetBlockInfo
java.lang.Object
com.destroystokyo.paper.block.TargetBlockInfo
Represents information about a targeted block
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
Get the block that is targetedGet the targeted BlockFaceGet the relative Block to the targeted block on the side it is targeted at
-
Constructor Details
-
TargetBlockInfo
-
-
Method Details
-
getBlock
Get the block that is targeted- Returns:
- Targeted block
-
getBlockFace
Get the targeted BlockFace- Returns:
- Targeted blockface
-
getRelativeBlock
Get the relative Block to the targeted block on the side it is targeted at- Returns:
- Block relative to targeted block
-