Class TargetEntityInfo
java.lang.Object
com.destroystokyo.paper.entity.TargetEntityInfo
Deprecated, for removal: This API element is subject to removal in a future version.
Represents information about a targeted entity.
-
Constructor Summary
ConstructorsConstructorDescriptionTargetEntityInfo(Entity entity, Vector hitVec) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get the entity that is targeted.Deprecated, for removal: This API element is subject to removal in a future version.Get the position the entity is targeted at.
-
Constructor Details
-
TargetEntityInfo
-
-
Method Details
-
getEntity
Deprecated, for removal: This API element is subject to removal in a future version.Get the entity that is targeted.- Returns:
- Targeted entity
-
getHitVector
Deprecated, for removal: This API element is subject to removal in a future version.Get the position the entity is targeted at.- Returns:
- Targeted position
-
RayTraceResult