Buy Me a Coffee at ko-fi.com

Returns a proxy for your currently targeted BlockState
This BlockState appears on the F3 screen
The maximum (and default) distance is 20, minimum is -20
Returns the block, the hit position, and the targeted block face as three separate values

overload 1:
LivingEntityAPI.getTargetedBlock(): Varargs
typings.1901216868
Method PropertyFluent DescriptionRepresentation
Return Value
overload 2:
LivingEntityAPI.getTargetedBlock(ignoreLiquids: Boolean): Varargs
typings.1729365000typings.1901216868
Method PropertyFluent DescriptionRepresentation
ignoreLiquids accepts
Return Value
overload 3:
LivingEntityAPI.getTargetedBlock(ignoreLiquids: Boolean, distance: Number): Varargs
typings.1729365000typings.-1950496919typings.1901216868
Method PropertyFluent DescriptionRepresentation
ignoreLiquids accepts
distance accepts
Return Value