mojira.dev
MC-68889

Inventory position glitch

Inventory GUI shifts to the left after buffs go away. This can clearly be seen in the animated GIF I attached. (Note the players mouse cursor is in the short animated GIF)

This does not happen in 1.7.10. In 1.7.10, when the buffs go away, the Inventory GUI stays off center until the player closes the inventory GUI and then re-opens it. When the inventory GUI is re-opened, it is displayed centered again.

The inventory also shifts to the right when there are no buffs at first but are added while displaying the inventory. This can be reproduced by someone throwing a splash potion at you while you are displaying your inventory and don't have any buffs/debuffs to start with.

Linked issues

Attachments

Comments 4

Am I to understand that the inventory GUI is supposed to shift around on the screen when the player is trying to use it? Remember, splash potions can cause an inventory screen to shift to the right if there were no buffs/debuffs on the player prior to the splash potion. If a player is trying to get something out of their inventory and it's shifting around on them, how are they supposed to get a specific item?

I read the linked issue and several MOD's agreed that the inventory should stay put until it is closed then reopened.

If this behavior sticks around when 1.8 is released, you are going to be getting a ton of reports of this issue. Players expect the inventory GUI to stay put when they are using it. Its seriously going to cause all kinds of problems if it's not fixed.

OK, well, apparently, I can't have a Beacon in my base since having one causes my inventory to shift under my cursor while when I am trying to organize it.

I didn't realize that there was a new minigame built into Vanilla Minecraft where you have to chase your inventory GUI around on the screen to grab items. Pity you don't get experience when you succeed.

There has been an Inventory rewrite. Things changed.
Closed.

David Metzener

(Unassigned)

Unconfirmed

Minecraft 1.8-pre1

Retrieved