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

Changing difficulty from peaceful may cause inaccurate hunger bars on multiplayer servers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 15w46a, Minecraft 1.8.9, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, 1.14.4, 19w34a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w42a, 19w44a, 19w45a, 19w45b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w11a, 20w13a, 20w14a, 20w15a, 20w16a, 20w19a, 20w20a, 1.16 Pre-release 8, 20w28a, 20w51a, 21w11a
    • Confirmed
    • UI
    • Important
    • Platform

      The bug

      Changing difficulty from peaceful to easy/normal/hard may cause inaccurate hunger bars on multiplayer servers.

      How to reproduce

      1. You're player A. Create a world and change difficulty to peaceful.
      2. Open to LAN and have another player join. They're player B.
      3. Change difficulty to normal.
      4. Do this command:
        /effect give @a hunger 10 100

      Player A's hunger bar will work as intended, but player B's hunger bar will regenerate haunches during and after the effect. This is purely visual, as they will starve to death. Every tick of starvation damage will reset the hunger to its correct value, but it will continue to visually regenerate in-between those damage ticks.

            Unassigned Unassigned
            paint Paint
            Votes:
            35 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: