> ## Documentation Index
> Fetch the complete documentation index at: https://entities.lodemc.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Spawning Where You Look

Spawns a registered mob on the block you are looking at, the way a spawn egg would place it.

## Usage

```text theme={null}
/le spawnlook <mob> [scale]
```

**Permission:** `lodeentities.spawnlook` **Player-only:** yes

## Arguments

| Argument | Required | Description |
| :- | :- | :- |
| `mob` | ✅ | A registered mob id. Autocompletes to registered mobs only. |
| `scale` | ❌ | Size multiplier from `0.0625` to `16.0`. Multiplies the mob's own `scale`. |

## Examples

```text theme={null}
/le spawnlook toast
/le spawnlook toast_king 2.0
```

## Why it exists

This is the third of the three "where": [`spawn`](spawn) puts one on you, [`spawnat`](spawnat) puts one at coordinates, and this one puts one where you point.

It exists mostly for **custom items**. A plugin like Nexo runs an item's commands on right-click as the player, but hands the command no way to say *which block* was clicked. A ray-trace from the player's eyes at that moment lands on exactly that block — so a right-click-to-summon item works without either plugin knowing about the other.

A Nexo item that summons on right-click, for example:

```yaml theme={null}
# plugins/Nexo/items/<your file>.yml
summoning_stone:
  itemname: "<gold>Summoning Stone"
  material: PAPER
  Mechanics:
    commands:
      commands:
        - "le spawnlook sir_toast"
      permission: lodeentities.spawnlook   # granted for the command
      cooldown: 5
```

LodeEntities commands are OP-only by default, so an item that runs one as a normal player needs Nexo's `permission:` key to grant the node for that command.

## Notes

* The reach is the player's own `block_interaction_range` attribute, not a fixed number, so creative mode, an attribute modifier or another plugin all move it correctly. An item that summons on right-click must not become one that summons across the map because the player happened to be facing the horizon.
* If nothing is in reach the command says so and names the distance it tried, rather than silently doing nothing.
* The mob lands against the **face that was hit**, in the open space beside the block rather than inside it — the same placement a spawn egg makes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.