mojira.dev
MCPE-154238

Hunger depletion accelerated and occurs while just walking with many Marketplace worlds and realms/server-focused addons

Update from [~GoldenHelmet]

The changes to the hunger system in 1.18.30 fixed MCPE-56031 and brought Bedrock to parity with Java for vanilla gameplay. However, players using addons that contain a player.json file experienced a massive increase in the rate of hunger drain. This especially affects realms and community servers that use utility addons like one-player-sleep, and it also affects marketplace content, for example the Realms Celebration world.

The cause of this issue is that new default exhaustion values were created that are much higher for some actions than the values added to the vanilla behavior pack. The defaults even include hunger drain for walking. They also do not match vanilla exhaustion from prior to 1.18.30. The difference between the new vanilla and new defaults is documented here. I conjecture that the defaults are leftover testing values or were made to fix MCPE-152533 without testing other content or considering the wider impact. In any case, since new defaults do not give correct versioning/backward-compatibility I think they can be considered a bug.

Steps to reproduce

  1. Create a new flat world in survival mode, normal difficulty, coordinates enabled, with cheats on. Set it to always day, no mob spawning, and no weather cycle.

  2. After you spawn, sprint-jump for 1000 blocks.

  3. Repeat the above in Java Edition for comparison.

  4. Repeat (1) - (2) but apply

[media]
  1. to the world, which contains only the player.json file from 1.18.10. When you can no longer run due to hunger, stop jumping and just walk.

Expected result

Same hunger drain in each test.

Observed result

The depletion of initial saturation takes the same amount of time, but once saturation is used up hunger drains much faster with the addon. Hunger also drains with the addon or in an affected Marketplace World while merely walking.

Milestone

Java

Vanilla 1.18.30

Using Addon/Marketplace World

Start losing hunger

440

440

440

Lost 4 drumsticks

1000

1000

600

Can no longer run

n/a

n/a

725

Starving

n/a

n/a

1000

 

Food bar showing rapid depletion since 1.18.30 food currently being used much faster than pre-update to 1.18.30

Step 1 - eat enough food to fill the food bar
Step 2 - walk more than 200 blocks and observe the amount of food depletion
Step 3 - note how much the depletion has dropped. In my case more than 3 units.

Prior to 1.18.30 walking 200 blocks would not deplete your food bar by 1 unit

According to the update logs parity with Java should be achieved. This is not the case and parity is broken. Playing Java edition sees the player being able to walk much further with the same amount of food usage.

Expected results - parity with Java edition.

Linked issues

Attachments

Comments 23

[Mod] Umija5895M

Your report does not contain enough information to fully understand or reproduce the problem.
Please Edit the Description section above, using this format:
Steps to Reproduce:
1. (list every step exactly, so someone else can reproduce the issue, and try following your list to make sure you can still reproduce the issue yourself)
2.
3.
Observed Results:
(briefly describe what actually happens, including exact message(s) shown)
Expected Results:
(briefly describe what should happen)

(add screenshots or video to help explain the issue)

This report has been temporarily closed as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.

You may find this Report Creation Form helpful for any future reports you create.

 I agree, I thought food went down much faster too, despite patch notes indicating the opposite.

The patch notes indicate parity with Java Edition, not that the depletion rate is lower across the board. If you can indicate that parity has been broken, please mark that. Otherwise, it can be believed that parity has been achieved, and this report can be marked as working as intended.

Parity with Java is definitely broken. Java players use less food to walk much further then Bedrock on the Switch 1.18.30

Cannot reproduce this issue. Parity has been achieved as one can walk well over 2k blocks without losing hunger in both Java and Bedrock. In general gameplay, hunger depletion is also near, if not perfectly identical. I cannot say that the Switch doesn't have this issue, but from my testing, it is not present on Windows and likely not present on the Switch. The tests were taken from an initial spawn state to avoid uncontrolled variables as much as possible.

13 more comments

We can confirm the hunger depletion happens on our realm. The hunger depletion once the first hunger bar goes is far faster than it should be regardless of activity you are doing as the player.

It seems to be even more accelerated when utilizing a beacon but does so even when you are not mining with the beacon effect. Only walking between areas. Once the first hunger bar goes down, the remainder rapidly declines even when not mining (the haste would make sense I suppose because you are breaking blocks faster) and only moving from place to place the hunger still goes rapidly down.

We have also asked a friend who has a realm with only One Player Sleep on their realm to test as it has been said that addons could be a cause. They disabled One Player Sleep and were experiencing the same hunger depletion issues regardless of the addon being used. I hope this helps give some additional areas to look at.

I can confirm the food depletion is on the realm I'm playing on (started on 1.16) but not on single player world's on 1.18.33. Single player world's the food depletion is much slower when walking compared to the realm I'm playing on. Single player world's I can walk 1000 blocks with no depletion. Running or run plus jump and it goes down slowly compared to playing on the realm.

On the realm once the first hunger icon is gone then the food depletion is rapid no matter what actions you're undertaking.

Can confirm on Switch (no Realm), but also with a potential twist.

Got tridented by a drowned yesterday when I didn’t have full armor and thought I was poisoned (I wasn’t) because of how fast my hunger bar suddenly started depleting.

Believe it or not, I was losing half a drumstick and gaining half a heart at a rate of half a second-ish and I had to eat every half a drumstick otherwise I wouldn’t heal.

Eat, replenish drumstick, heal exactly as much of a drumstick I replenished, drumsticks decrease, have to repeat the cycle until full hearts.

I have never eaten so much or so fast in years.

This issue isn’t consistent. Not every mob damage taken triggers it.

 

Thank you, I am going to update the ticket based on what I have been able to verify about the bug.

I can confirm. I play in aternos server and it has Single Player Sleep add-on. Happens both in PC and Smartphone (pocket edition). 

Wayne Morgan

(Unassigned)

785734

Confirmed

Multiple

1.18.30, 1.18.31

1.19.10.22 Preview, 1.19.10

Retrieved