mojira.dev
MC-176084

Lodestone compasses that are stored in containers, item frames, bundles, or are held by mobs do not update if their connected lodestone is broken

The bug

Lodestone compasses that are either:

  • stored inside a container (like a chest for example)

  • stored inside of an item frame or

  • held by an entity (such as a zombie)

do not update if their connected lodestone is mined, causing them to be continuously pointed towards the same coordinates until it has been re-added to the player's inventory.

How to reproduce

  1. Place a lodestone on the ground

  2. Place an item frame on the ground

  3. Right-click a new compass on the lodestone

  4. Right-click the now lodestone-tied compass into the item frame

  5. Break the lodestone
    ❌ the lodestone compass hasn't changed the direction it is pointing to

  6. Left-click the lodestone compass out of the item frame and pick it up
    the lodestone compass is now rotating randomly

Linked issues

Attachments

Comments 7

Confirmed for 1.16 pre-release 6

While a lodestone compass in an itemframe doesn't suddenly start to rotate randomly when its lodestone is broken, interestingly, when its lodestone is replaced by a new one, taking it out of the item frame does magically connect it to the new block (as opposed to start randomly rotating because its original block isn't there anymore).

It seems the lodestone does only save the location to the block and not the block itself, while not updating it in any way while in an item frame.

Works with compasses in bundles too.

Can confirm in 21w42a.

Can confirm in 1.18.2 and 22w16b.

Can confirm in 1.19.

Can confirm in 23w14a

Irony

(Unassigned)

Confirmed

Gameplay

Low

Items

20w13a, 20w13b, 20w14a, 20w15a, 20w16a, ..., 1.19.4, 23w14a, 1.21.1, 1.21.4, 1.21.5

Retrieved