mojira.dev
MC-296653

Item name component is ignored on Lodestone compass

When a compass has a lodestone tracker, the value of its item_name component is ignored.

Repro:

  1. Use the command: /give @s compass[item_name="Origin",lodestone_tracker={}]

  2. Hover the compass with your mouse cursor in the inventory.

Expected result: The compass should be named “Origin”
Actual result: The compass is named “Lodestone Compass”.

Environment

Windows 10

Linked issues

Comments 1

Duplicate of MC-276600, which is Working As Intended. Try using the minecraft:custom_name component.

Estecka

(Unassigned)

Unconfirmed

(Unassigned)

1.21.5

Retrieved