mojira.dev
MC-4653

Anvil GUI doesn't update immediately after gamemode change

The bug

If you try to change your gamemode from survival to creative while holding some random item and enchantment book in anvil GUI it still stays unenchantable, it should update.

How to reproduce

  1. Setup a command block with a delay to run /gamemode creative @p.

  2. Take some random stuff and enchantment book.

  3. Change your gamemode to survival, and press the button.

  4. Quickly open the anvil, and place items in slots.

  5. Wait for command block to run command.
    → ❌ The result in anvil is still unavailable

  6. Remove and place any item again.
    → :info: Notice you can now enchant your unenchantable item

Attachments

Comments 9

Is this still a concern in the latest Minecraft version 14w05b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 / Launcher version 1.5.3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

No response for over a year.

Sorry, haven't played the game in three years, can't check if this is still an issue. ¯\_(ツ)_/¯

Confirmed for 17w17b

Can confirm for 19w34a

Confirmed in 1.16.1.

Norrius

(Unassigned)

Confirmed

UI

anvil, command_block, game-mode-switch

Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02a, Snapshot 13w02b, ..., 1.14.4, 19w34a, 1.16.1, 1.16.2 Release Candidate 1, 21w07a

Retrieved