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

Hunger saturation depletes on peaceful difficulty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w21a
    • Minecraft 1.6.2, Minecraft 13w37b, Minecraft 13w38c, Minecraft 13w39b, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w05b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 1.8, Minecraft 1.8.1-pre3, 1.15.2, 20w11a, 1.16 Pre-release 5, 1.16.2, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 23w03a, 1.20.4
    • Confirmed
    • Survival
    • Player
    • Normal
    • Platform

      The Bug

      The food saturation value is depleted on peaceful, even though the displayed hunger bar never goes down. Hunger (or any related value, including saturation) should not go down on peaceful.

      Steps to reproduce:

      1. Eat some food to restore saturation.
      2. Switch to peaceful and run around for a bit. Eventually the hunger bar will start shaking.

      Code analysis

      Code analysis by Avoma can be found in this comment.

            panda4994 [Mojang] Panda
            redstonehelper redstonehelper
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: