Package com.destroystokyo.paper.block
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
Modifier and TypeClassDescriptionstatic enum
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionTargetBlockInfo
(@NotNull Block block, @NotNull 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 targetedDeprecated, for removal: This API element is subject to removal in a future version.Get the targeted BlockFaceDeprecated, 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
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
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