mojira.dev
MC-248587

Mobs converting to other mobs desync rotation with client

When a villager is rotated (not a y rotation of 0), and gets cured, they don't appear to be facing the right direction.

Steps to reproduce:

  1. summon zombie_villager ~ ~ ~ {NoAI:1b,Rotation:[90.0f,0.0f]}
  2. data merge entity @e[type=zombie_villager,sort=nearest,limit=1] {ConversionTime:1}
  3. Observe villager appearing to be rotated to y rotation 0.

  4. data get entity @e[type=villager,sort=nearest,limit=1] Rotation
  5. Observe it has the value [90.0f,0.0f]

  6. Let a zombie zombify it again.

  7. data get entity @e[type=zombie_villager,sort=nearest,limit=1] Rotation
  8. Observe it has the value [90.0f,0.0f] but is still visually rotated to y rotation 0.

Affected conversions:

  • villager -> zombie villager

  • zombie villager -> villager

  • husk -> zombie

  • zombie -> drowned

  • skeleton -> stray

  • hoglin -> zoglin

  • piglin -> zombified piglin

  • piglin brute -> zombified piglin

  • villager -> witch

  • villager -> zombified piglin

  • mooshroom -> cow

  • tadpole -> frog

  • slime -> smaller slime (random rotation, only can be observed via NoAI)

  • magma cube-> smaller magma cube (random rotation, only can be observed via NoAI)

Linked issues

Attachments

Comments

Avoma

Can confirm in 1.18.2.

[media]
Avoma

Can confirm in 1.19.

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Low

Mob behaviour, Networking

1.18.1, 22w06a, 1.18.2, 1.19, 1.19.2, ..., 1.20.4, 24w13a, 1.21.1, 24w36a, 1.21.2 Pre-Release 3

Retrieved