What I expected to happen was...:
That I could sleep in a bed on peaceful mode if the food bar is empty.
What actually happened was...:
Damage ticks from starvation prevented this.
Steps to Reproduce:
1. Play Survival on any game mode that drains the food bar until it's empty, example "easy" and then switch to Peaceful mode once drained and starving to death.
2. Collect resources for and make a bed.
3. Attempt to sleep in it.
If the player is starving to death and switches to peaceful mode, the damage ticks from starvation should be stopped because they are simply just annoying and prevent sleeping in a bed while the player is trying to find a food source which isn't always easy to come by. This should not affect the ability of regenerating hearts in peaceful mode. There are other problems with the food system which I won't get into detail about except to say that they should be dynamic, and not biome specific, as sometimes food is very hard to find anywhere on a map, for example islands in ocean biomes.
Linked issues
Comments 12
Not very helpful if you happen to be in one of the few places without readily available food, for example a desert or ocean biome. Swimming takes hours to get anywhere, I would just like to be able to reset the night if I'm not using cheats and am trying to survey a survival map for potential spots after failing to obtain food via a normal game difficulty start on a random seed.
I can confirm this, a very annoying thing. Not sure if it is exactly a bug, but still something that could be improved.
I have always thought that the whole point of survival was to be able to stay in one game mode and not have to rely on changing game modes. Currently this is not realistically possible due mainly to the fact that the Minecraft engine has it's gameplay mechanics geared primarily towards starts where the player can easily obtain both wood and basic starting equipment. This isn't so easy to do in ocean biomes especially given that the biome itself has no animal spawns whatsoever and that obtaining anything other than a slow starting wheat farm takes ages to do and requires that the player not sprint which also isn't easy to do given that sprinting is so easy to do accidentally.
While one could theoretically kill zombie spawns for potato or carrot drops and eat any rotting flesh that drops, this also can be time-consuming to do. There is a similar problem with spider string, because as often as not, they will drop 0 string. If a player really needs string for a fishing rod, which only needs 2 string the chance of obtaining one string from spiders killed by the player should be raised to where they don't have to kill a lot of spiders for poor randomly generated returns on kills.
It also seems weird that spider dungeons will generate a lot more string just because the chance of getting a spider to kill is insanely higher versus the chance enough of them will randomly spawn on an island large enough for spiders to spawn on along with other hostile mobs, and drop string.
I digress, the original issue I filed is a significant gameplay issue and one which needs addressing instead of being left by the wayside. I'm just not sure how much longer I'm willing to put up with having to walk around like a crazy Minecrafter hurting himself every time he takes a tick of starvation damage while staying fully healed on peaceful difficulty.
This should be fixed by disabling hunger damage while asleep and by having hunger regenerate automatically in peaceful.
EDIT: Also, you aren't required to use an ocean spawn world. You can easily delete worlds until you find one with a good spawn.
Hello, this appears to still be happening. I usually play on easy with my Fiance when he is home from work, so I switched to peaceful this morning (to not waste my apples), and was utterly confused about this. (Shortly after the video, enough wheat grew I was able to make some bread, but I thought that this was quite interesting)
I am playing vanilla, unmodded 1.7.2
A simple fix is to regenerate FOOD in peaceful.