mojira.dev
MC-9232

When loading a world, the held item from the previously loaded world is briefly visible

This happens in Singleplayer, any gamemode, especially on lower render distance.

Expected:
When loading a world, your hand should be holding the thing currently selected in the hotbar.

Actually seen:
Your hand starts out (briefly) holding the thing selected in the hotbar in the last world you were in, then it does the item-switching animation (lower hand holding previous item, raise hand now holding current item).

It's quick, so to reproduce it, try a few times.


Steps:
1) Have 2 worlds created.
2) In one world, select something from the hotbar so it's held in-hand, e.g. lime wool.
3) Save and quit, open the other world. Select something else in-hand, e.g. nether brick.
4) Save and quit, open the first world again. Your hand will lower the nether brick, and raise the lime wool.

Linked issues

MC-27398 Holding "fake" objects when loading worlds Resolved MC-55955 Item Held When Switching Worlds Not Changing Resolved MC-56645 Item of a previous world shown in the end when connecting. Resolved MC-99420 On New World Creation You Initially Hold Previous World's Possession Resolved MC-113449 Loading separate world hand bug Resolved

Attachments

Comments 32

Confirmed.

Confirmed for 14w25a

How to see it very clear:

    1. Open first world get dirt in your hand

    2. Close first world

    3. Open second world and while opening open another programm or minimize Minecraft

May relate to the bug where boss health bars are still visible for a moment after going into a different world/server.

Fixed as of 25a.

That is not fixed!
Confirmed for

  • 14w31a

  • Minecraft 1.8-pre 1

22 more comments

Can confirm in 1.17.1 Release Candidate 2.

Can confirm in 21w41a.

Can confirm in 21w42a.

Can confirm in 1.18 Pre-release 4.

This is fixed since 1.18.2 snapshot 22w03a.

shufboyardee

(Unassigned)

Confirmed

Low

Player Animation

block, hand, held, hotbar, inventory, item, singleplayer, switches, world

Minecraft 1.4.7, Snapshot 13w05a, Snapshot 13w05b, Minecraft 1.5, Snapshot 13w11a, ..., 1.18 Pre-release 7, 1.18 Release Candidate 3, 1.18, 1.18.1 Release Candidate 1, 1.18.1

22w03a

Retrieved