Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-204064

When in creative mode, the inventory GUI does not return to the center of the screen once a potion effect has expired.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w45a
    • Windows 10, Java 8
    • Unconfirmed
    • (Unassigned)

      Brief Description:
      When in Creative Mode, the inventory GUI does not return to the center of the screen once a potion effect has expired.

      Steps to Reproduce:

      1. Go in Creative mode.
      2. Give yourself a potion effect. (/effect give @s minecraft:regeneration 5 1)
      3. Open up your inventory and wait for the potion effect to expire.
      4. You will notice the Inventory GUI does not return to the center of the screen. 

      Observed Results:
      After the potion effect has expired, the inventory GUI is left towards the right side of the screen.

      Expected Results:
      The Inventory GUI should return to the center of the screen once the potion effect has expired.

      Screenshots/Videos:
      I've attached two images. In one of them you can see me with a potion effect whilst the Creative Inventory GUI is open. When the potion effects expire you can see that in the other image, the inventory GUI does not return to the center of the screen.

      Notes:
      This works with any potion effect at any amplification.

        1. 2020-11-05_13.00.12-1.png
          676 kB
          [Mod] Avoma
        2. 2020-11-05_13.00.14-1.png
          666 kB
          [Mod] Avoma

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: