mc_looked_at_entity
Identify the entity a player is looking at in Minecraft by returning its entity ID, with configurable raycast distance. Helps answer 'what is that thing?' questions.
Instructions
Returns the entity id the player is currently aiming at, or null if none is within range. Useful for "what is that thing?" questions where the user gestures at an entity in the world. Pair with mc_entity_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Raycast distance in blocks. Default 64. |