> ## 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.

# Movement & Mounts

> Teleports, knockback, leaps and lunges, facing, pathfinding and mounts.

Moving the caster or its targets around.

```yaml theme={null}
- lunge{velocity=1.6} @target
- throw{velocity=2;velocityy=0.8} @playersInRadius{r=4}
- pull{velocity=1.2} +onHurt @trigger
- goto{speed=1.4} @spawnLocation
```

| Mechanic | Usage | What it does |
| :- | :- | :- |
| `directionalvelocity` <sub>also dvelocity</sub> | `directionalVelocity{yaw=0;pitch=0;velocity=1;mode=SET}` | Sets the target's velocity from a yaw, pitch and speed. |
| `disengage` | `disengage{velocity=1;velocityy=0.2}` | Makes the caster leap backwards, away from the target. |
| `dismount` | `dismount` | Takes the target off whatever it is riding. |
| `ejectpassenger` <sub>also eject\_passenger</sub> | `ejectPassenger` | Throws off anything riding the caster. |
| `forcepull` | `forcepull{spread=0;spreadv=0}` | Teleports the target to the caster. |
| `goto` <sub>also pathto, navigateto</sub> | `goto{speed=1;spreadh=0;spreadv=0}` | Makes the caster pathfind to the target location. |
| `jump` | `jump{velocity=1}` | Makes the caster jump. |
| `leap` | `leap{velocity=1}` | Makes the caster leap in an arc to the target. |
| `look` | `look{headonly=false;immediately=true}` | Turns the caster to face the target. |
| `lunge` | `lunge{velocity=1;velocityy=0.25}` | Makes the caster dash straight at the target. |
| `matchrotation` <sub>also matchrot</sub> | `matchRotation{target=<targeter>}` | Turns the target to match another targeter's facing. |
| `mount` <sub>also vehicle</sub> | `mount{type=<mob>}` | Summons a mob and puts the caster on it. |
| `mountme` | `mountMe` | Puts the target on the caster. |
| `mounttarget` | `mountTarget` | Puts the caster on the target. |
| `propel` | `propel{velocity=1}` | Pushes the caster toward the target. |
| `pull` | `pull{velocity=1;toorigin=false}` | Draws the target toward the caster. |
| `push` | `push{velocity=1}` | Pushes the target away from the caster. |
| `remount` | `remount` | Puts the caster back on its last mount. |
| `rotatetowards` <sub>also rotateto</sub> | `rotateTowards{maxyaw=<deg>;maxpitch=<deg>}` | Turns the caster toward the target a limited amount each time it runs. |
| `setleashholder` <sub>also setleasher</sub> | `setLeashHolder{remove=false}` | Leashes the caster to the target, or removes the leash. |
| `setpitch` | `setPitch{pitch=<deg>}` | Sets the target's head pitch. |
| `setrotation` <sub>also setrot</sub> | `setRotation{yaw=<deg>;pitch=<deg>;relative=false}` | Sets the target's yaw and pitch without teleporting it. Not for players. |
| `settarget` <sub>also target</sub> | `settarget` | Makes the caster's AI attack the target. |
| `summonpassenger` <sub>also passenger, summonrider, rider</sub> | `summonPassenger{type=<mob>}` | Summons a mob riding the caster. |
| `swap` <sub>also tpswap</sub> | `swap` | Swaps the caster's and the target's positions. |
| `teleport` <sub>also tp</sub> | `teleport{spreadh=0;spreadv=0;preservepitch=true;preserveyaw=true}` | Teleports the caster to the target, with optional spread. |
| `teleportin` <sub>also tpdir, tpin, tpi</sub> | `teleportIn{vector=<x,y,z>}` | Teleports the target by an offset. |
| `teleportto` <sub>also tpt, teleportlocation, tpl</sub> | `teleportTo{location=<x,y,z>;world=<w>;yaw;pitch}` | Teleports the target to fixed coordinates. |
| `teleporty` <sub>also tpy</sub> | `teleportY{y=<y>}` | Teleports the target to a Y level. |
| `throw` | `throw{velocity=1;velocityy=0.5}` | Launches the target away from the caster. |
| `velocity` | `velocity{vx=0;vy=0;vz=0;mode=SET;relative=false}` | Sets, adds or multiplies the target's velocity. |

## Things that changed from older versions

* **`forcepull` teleports** the target to the caster, as in MythicMobs. `pull` still draws it in.
* **`leap{velocity}` is a multiplier** here; MythicMobs writes it as a percentage. The [importer](https://entities.lodemc.net/mythicmobs.md) divides by 100.
* `throw` and `lunge` keep LodeEntities' own defaults; an imported line gets MythicMobs' defaults written out.

Following a list of points is the `followpath` aura; see [Auras](https://entities.lodemc.net/mechanics-auras.md).


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