Bug Open

Multiline nameplate bug

#6459 opened by Unknown 1 year ago

Unknownreported this bug

Hello

Bug 1

If the mob display contains a \n, it always spawns near the mob's feet and then teleports upward. When using the setname mechanic, this results in a very poor visual appearance.

Server: 1.21.7 latest paper MM: Latest Dev: v5.10.0-SNAPSHOT/5466

Example mob config:

test:
  Type: IRON_GOLEM
  Display: '&6Skeleton King\n&7(<caster.hp>/<caster.mhp>)'
  Nameplate:
    Enabled: true
  Skills:
    - setname{name="<caster.name>";delay=2} @self ~onTimer:20

Gif: https://i.imgur.com/kVYGNf4.gif - https://imgur.com/9o2fcyX

Bug 2

The \n doesn’t work properly when the mob first spawns. Multiple lines only appear after the setname mechanic is used.

Sign in to join the discussion.