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:
ViewerAPI:getTargetedBlock()
Method Property | Fluent Description | Representation |
Return Value | a Varargs | |
overload 2:
ViewerAPI:getTargetedBlock(ignoreLiquids)
Method Property | Fluent Description | Representation |
ignoreLiquids accepts | a Boolean | |
Return Value | a Varargs | |
overload 3:
ViewerAPI:getTargetedBlock(ignoreLiquids, distance)
Method Property | Fluent Description | Representation |
ignoreLiquids accepts | a Boolean | |
distance accepts | a Number | |
Return Value | a Varargs | |