mojira.dev
MC-79810

Hunger effect does not work above level 223

The effect hunger does not increase the amount of food you lose when you specify a level above 223. The hunger effect makes you lose 1 hunger (half a meatsicle) per second for every 8 levels, starting from 0 (7,15,23,31,..). This works fine up until the level 223, where it makes you lose 28 hunger. Any level after that makes you lose 28 hunger too. Note that it first drains your saturation, and only after that drains the actual hunger bar, so there is 40 hunger in total to drain when full.

Recreate using:

/effect @p minecraft:saturation 1 100
/effect @p minecraft:hunger 1 223

You will end up with 12 food and 0 saturation. Then do:

/effect @p minecraft:saturation 1 100
/effect @p minecraft:hunger 1 255

You will also end up with 12 food and 0 saturation.

Related issues

Comments

fuj1n

Duplicate of MC-10755.

migrated

fuj1n, I don't think this is a duplicate of that. That bug report is about mining fatigue, the hunger command works as expected until level 223, but not after that.

fuj1n

That ticket is about effects with insane amplifiers.

migrated

Ah I see. I found a comment from Dinnerbone on another issue for anyone that might find this bug report:

"Any effect outside of those provided in vanilla circumstances should be considered unsupported officially and may or may not work as you'd expect."

MC-32172

migrated

(Unassigned)

Unconfirmed

Minecraft 1.8.4

Retrieved