mojira.dev
MC-123804

Explorer map and Ominous banner names appear in item frames, draw in italics, and can be removed with an anvil

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

Attachments

Comments

CreeperMagnet_

Does this still affect 18w05a?

AlexMCool

Affects 18w20b

AlexMCool

Affects 1.13-pre5

AlexMCool

Affects 1.13-pre6

CreeperMagnet_

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. =(

AlexMCool

Present in 1.13-pre7

AlexMCool

And 1.13-pre8

AlexMCool

And 1.13-pre9

migrated

present in 1.13 pre10

AlexMCool

And 1.13

AlexMCool

And 18w30a

AlexMCool

And 18w30b

migrated

and 18w43c

tryashtar

It now affects the Illager Banner as well

migrated

also in 19w14b

 

migrated

also 1.14.2 pre 3 

migrated

and 1.14.3

migrated

also confirmed for 1.14.4

migrated

confirmed for 19w34a

migrated

confirmed in 20w21a

migrated

This also affect the ominous banner, which relies on display tag and shows its name in italics

Avoma

Can confirm in 20w51a.

migrated

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.

CreeperMagnet_

Can confirm in 1.18.1.

This can be resolved by re-introducing LocName.

migrated

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))

Brain81505

Can confirm in 1.19.3 and 23w04a

AMGAMES04

Can confirm in 23w18a

AMGAMES04

Can confirm in 1.20.1

tryashtar

boq

Confirmed

Gameplay

Low

Text

explorer-map, item_frame, map

Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w10a, Minecraft 18w10d, ..., 23w04a, 1.19.4, 23w18a, 1.20 Pre-release 7, 1.20.1

24w13a

Retrieved