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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      UI

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paint Paint
              • Votes:
                29 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: