Bug Verified

Multi-Line Names display incorrectly in some cases

#4388 opened by Unknown 2 years ago

Unknownreported this bug

Summary

Describe the bug encountered in detail.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior When a mob with a multi-line name is killed, it shows the unformatted name temporarily during the death animation. It's name tag also does not rotate vertically when looking at it from a higher angle.

[Legacy attachment omitted] [Legacy attachment omitted]

Intended correct behavior

The formatted name should either show throughout the death animation, or be removed on death and show nothing.

Additionally, multi-line names should rotate vertically to face the player from high/low angles, instead of only rotating side to side. I believe this is possible with Text Displays using the center method, instead of vertical.

Server log file

N/A

Debug log snippet

N/A

Proposed fixes

Describe what you think the issue or any potential fixes may be.

Unknowncommented

The rotation issue can't be fixed. CENTER cannot be used because the nametag is mounted for smoothness and shifted up using translation, which puts it above the pivot point - causing center to rotate in very odd ways and look bad.

Unknowncommented
TestMob:
  Type: zombie
  Display: 'Test Dummy\nI have two lines now\nNow Three!!'

Mob's name gets reset weirdly on death.

See video: https://youtu.be/1D3qloo-l6I

Unknowncommented

Also, when testing, it seems the rotation of the display is random?? This happened after spawning the mob several times using mob eggs. [Legacy attachment omitted]

Also note, that the nametag briefly spawns at the mobs feet, then can be seen teleporting to the correct location above the mob.

Unknowncommented

Same problem here 😭

Sign in to join the discussion.