Name | <EntityTag.cursor_on_solid[(<range>)]> |
Returns | LocationTag |
Description | Returns the location of the solid block the entity is looking at.
Optionally, specify a maximum range to find the location from (defaults to 200). Note that this will return null if there is no solid block in range. This only uses solid blocks, ie it ignores passable blocks like tall-grass. Use EntityTag.cursor_on to include passable blocks. Equivalent to <EntityTag.eye_location.ray_trace[return=block]> |
Generated Example |
|
Group | location |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1541 |