The bug
An explorer map (woodland mansion, ocean monument, or buried treasure) has its name appear in italics and displays when hovered over in an item frame. This is inconsistent with every other vanilla item in the game. See the attached screenshot.
Consider potions, which share many properties of these maps. Potions:
All use the same ID
Color their texture depending on their type
Use a different translation depending on type without relying on a custom
display.Name
tag
Linked issues
is duplicated by
relates to
Attachments
Comments


Affects 18w20b

Affects 1.13-pre5

Affects 1.13-pre6

They ought to just add LocName back. It's so much better than using a translation string with italic set to false, as you can rename it back to the original name in an anvil, and it doesn't show in italics. It was a great tool for custom datapacks, and I'm sad to see it go. =(

Present in 1.13-pre7

And 1.13-pre8

And 1.13-pre9

present in 1.13 pre10

And 1.13

And 18w30a

And 18w30b

and 18w43c
It now affects the Illager Banner as well

also in 19w14b

also 1.14.2 pre 3

and 1.14.3

also confirmed for 1.14.4

confirmed for 19w34a

confirmed in 20w21a

This also affect the ominous banner, which relies on display tag and shows its name in italics
Can confirm in 20w51a.

This is sort of not possible to fix without one of the options:
Adding an "italics":false to these item's display.Name, and adding a special NBT tag to items to prevent item names from showing in frames (display.ShowNameFramed?)
Add another item type for these items, which is backwards incompatible.

Can confirm in 1.18.1.
This can be resolved by re-introducing LocName.

A "default name" tag, with the same formatting as Name would be better though. (LocName didn't allow formatting, coloring, inserting variables (with) or appending (extra))

Can confirm in 1.19.3 and 23w04a

Can confirm in 23w18a

Can confirm in 1.20.1
Does this still affect 18w05a?