mojira.dev
MC-277905

Switching an item to offhand in the same tick as placing it in a slot in creative ghosts it

A desync occurs when you press F (or whatever button switches hand) as soon as you place an item in a hotbar slot in the creative mode inventory.

Steps to reproduce:

  1. Go into creative mode

  2. Pick up a stack of items from the creative inventory into your cursor

  3. Drop that stack into an item slot, and immediately press F

  4. Exit the inventory and navigate to that hotbar slot

  5. Even if it appears empty, you can press Q and drop that item, and the item remains in the offhand anyway

Can not reproduce in survival, but it might be possible

Linked issues

Attachments

Comments 3

This seems very similar to MC-240720, only instead of dropping an item and swapping, you are getting the item and immediately swapping it.

Can confirm in 1.21.4.

[Mojang] Triage Team

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

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

FracturedFlux

(Unassigned)

Confirmed

(Unassigned)

1.21.3

Retrieved