mojira.dev
MC-105374

/tp facing bug

/tp @e[type=villager] ~ ~ ~ 0 15

and

/tp @e[type=villager] ~ ~ ~ 0 0

does no longer work. It did in 1.9.

What I expected to happen was to make the Villager look down and then look back up.

What actually happens is the Villager doesn't move his head at all. It worked fine in 1.9, but when I upgraded to 1.10, it suddenly doesn't work. I'm a map maker so this is frustrating.

Steps to Reproduce:

  • summon a Villager with NoAI and Silent:

    /summon villager ~ ~ ~ {Profession:3,NoAI:1,Silent:1}
  • trigger these commands:

    /execute as @e[type=villager] at @s run tp @s ~ ~ ~ 0 15

    and

    /execute as @e[type=villager] at @s run tp @s ~ ~ ~ 0 0

Linked issues

Attachments

Comments 12

My skeletons and zombies rotate and face up/down using teleportation just fine, perhaps try different values?

This might be the fact that villager facings are diffeent because they are not completely ignorant of the player but also not attracted.

I don't get why this suddenly happened though. In 1.9, I have no problems with it whatsoever.

I believe this is a smoothing issue and lerping between 0-10 is simply too small to warrant an update of the client display.

2 more comments

Can partially confirm for 1.11.2.
If you execute the command

/tp @e[type=villager] ~ ~ ~ 0 0

before

/tp @e[type=villager] ~ ~ ~ 0 15

It works fine, even after reloading the world.

I was also able to avoid this behaviour by restarting minecraft entirely. For some reason, simply reloading the world seems not to fix it for me.

This seems to only happen the first time in 1.13-pre6. If you after having executed the tp commands once, execute them once more, it will work.

Is this still an issue in 20w22a or later?

Can't confirm for 20w22a, the Villager moves its head properly.

[media]

Tested this against 1.14 and it seems fixed for me too.

David

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.13-pre6, Minecraft 1.13.1, ..., Minecraft 18w50a, Minecraft 19w02a, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4

Retrieved