Mojira Archive
MCM-317

can_place_on and can_destroy don't translate in tooltips

Verification builds: Release 1012412
Summary: Item tooltips that display "Can break" and "Can be placed on" show the raw block string IDs instead of the proper translation for the given blocks (contrast with Java Edition).

Impact: Users in other languages cannot read the block list; English players break immersion by seeing internal IDs, especially when the block is intended to represent something else.

Repro Steps:
1.

/give @p bricks 1 0 {"can_place_on":{"blocks":["lit_pumpkin","redstone_block","blue_glazed_terracotta"]}}

2.

/give @p diamond_pickaxe 1 0 {"can_destroy":{"blocks":["lit_pumpkin","redstone_block","blue_glazed_terracotta"]}}

3. Open inventory and hover over each item.

Expected Results: Tooltip displays "Jack o'Lantern, Block of Redstone, Blue Glazed Terracotta" (translated according to user's language)

Observed Results: Tooltip displays "lit_pumpkin, redstone_block, blue_glazed_terracotta"

Screenshots/Videos attached: Yes, screenshots of expected and actual tooltips. "Correct" screenshot comes from Java Edition.

Fixed

[Mod] tryashtar

2018-07-10, 08:31 AM

2018-08-07, 10:47 PM

2018-08-07, 10:47 PM

0

0

Future Release

-