mojira.dev
MC-101980

You are dismounted upon executing a rotational command on yourself while riding an entity

The Bug:

You are dismounted upon executing a rotational command on yourself while riding an entity.

Steps to Reproduce:

  1. Summon a horse by using the command provided below.

    /summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b}}
  2. Mount it and execute a rotational command on yourself while riding it by using the command provided below.

    /tp @s ~ ~ ~ 0 0
  3. Take note as to whether or not you are dismounted upon executing a rotational command on yourself while riding an entity.

Observed Behavior:

You are dismounted.

Expected Behavior:

You would not be dismounted.

Linked issues

Attachments

Comments 14

I don't believe this is a duplicate.
This ticket (correctly) notes that changing only a player's rotation via a teleport command will dismount them.
MC-101608 reports that moving a vehicle with a teleport command will dismount its rider, which does not happen.

Reopened. Does this still happen in 1.10.2?

It does, as well as 16w32b, for all mountable entities.

This can be WAI, as you actually teleport the player (even when you don't change coordinates), and before teleportation he gets dismounted

4 more comments

Can confirm in 21w07a.

Can confirm in 21w14a.

Can confirm in 21w16a.

Can confirm in 1.17.

In newer versions of the game, you can now use the "/rotate" command to rotate yourself while riding entities so this may be intentional.

TheKelbinator

Avoma

(Unassigned)

Confirmed

Commands, Player

Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 1.11, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved