Mojira Archive
MC-272355

Ellipsis text is stringified within NBT text formatter list truncation

Text should not be shown as its string representation. However, when truncating NBT display text, the ellipsis is stringified.

To reproduce, run /data get entity @s when you have a lot of recipes pending display in the recipe book.

Code analysis (Yarn mappings)

Refer to the NbtTextFormatter#visitList and NbtTextFormatter#visitCompound methods:

// ELLIPSIS is a Text instance
this.result.append("[" + ELLIPSIS + "]");

The issue seems to have first appeared in Minecraft snapshot 24w19a, presumably from the fix for MC-270779.

Fixed

haykam

[Mojang] Gegy

2024-05-22, 09:40 PM

2024-05-23, 10:07 AM

2024-05-23, 10:07 AM

2

0

Confirmed

Important

Platform

Text

24w19a, 24w21b

1.21 Pre-Release 1