mojira.dev
MC-303492

When the player is killed while using an item with keepInventory true and doImmediateRespawn false, they will continue using that item while dying, possibly consuming it

When the player is killed while using an item with keepInventory true and doImmediateRespawn false, they will continue using that item while dying, possibly consuming it.

To reproduce

  1. /gamerule keepInventory true

  2. /gamerule doImmediateRespawn false

  3. /give @s golden_apple

  4. Switch to survival

  5. /summon husk

  6. Let the husk hit you and begin eating the golden apple right as it is about to kill you
    ❌ You finish eating the golden apple while dying

Expected result

You would stop eating the golden apple upon dying

Linked issues

Attachments

Comments 2

Thank you for your report!
We're tracking this issue in MC-133218, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

clamlol

(Unassigned)

Unconfirmed

(Unassigned)

25w43a

Retrieved