PlayerAPI.getTargetedEntity

Inherited from LivingEntityAPI

Returns a proxy for your currently targeted Entity
This Entity appears on the F3 screen
Maximum and Default distance is 20,
Minimum is 0
overload 1:
player:getTargetedEntity()
Method Property Fluent Description Representation
Return Value a Varargs
overload 2:
player:getTargetedEntity(distance)
Method Property Fluent Description Representation
distance accepts a Number
Return Value a Varargs
a a