Class TargetBlockInfo
java.lang.Object
com.destroystokyo.paper.block.TargetBlockInfo
Deprecated, for removal: This API element is subject to removal in a future version.
Represents information about a targeted block.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionTargetBlockInfo(Block block, BlockFace blockFace) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()Deprecated, for removal: This API element is subject to removal in a future version.Get the block that is targeted.Deprecated, for removal: This API element is subject to removal in a future version.Get the targeted BlockFace.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.
-
Constructor Details
-
TargetBlockInfo
-
-
Method Details
-
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
Deprecated, for removal: This API element is subject to removal in a future version.Get the targeted BlockFace.- Returns:
- Targeted blockface
-
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
-
RayTraceResult