Class TargetEntityInfo

java.lang.Object
com.destroystokyo.paper.entity.TargetEntityInfo

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

  • Method Details

    • getEntity

      @NotNull public @NotNull Entity 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

      @NotNull public @NotNull Vector 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