Name | Mount |
Syntax | mount (cancel) [<entity>|...] (<location>) |
Short Description | Mounts one entity onto another. |
Full Description | Mounts an entity onto another as though in a vehicle.
Can be used to force a player into a vehicle or to mount an entity onto another entity, for example a player onto an NPC. If the entity(s) don't exist they will be spawned. Accepts a location, which the entities will be teleported to on mounting. |
Related Tags | <EntityTag.vehicle> If the entity is in a vehicle, returns the vehicle as a EntityTag.
<EntityTag.is_inside_vehicle> Returns whether the entity is inside a vehicle.
<entry[saveName].mounted_entities> returns a list of entities that were mounted.
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | entity |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/MountCommand.java#L27 |