mojira.dev
MC-14640

No hunger bar when riding a Boat or Minecart

Related issues

MC-14907 Hunger bar disappears when you are in a boat. MC-15505 No hungerbar in minecarts MC-16685 No hunger bar on boats. MC-18249 I can't see the hunger bar when I am in my minecart! MC-18251 Don't show Hunger bar when ride a minecart MC-18434 Can't see Food bar in a Boat MC-18596 hunger hud missing MC-19154 Hunger bar Disappears when in any Boat MC-19213 No hunger in boats MC-19295 Boat hunger bar MC-19522 You can't see the hunger bar when in a boat MC-19672 Hunger Bar MC-19813 Minecraft bug MC-19852 Food bar gone while in minecarts and boats MC-20528 Hunger bar disappears when in a minecart MC-20552 Health Bar is gone in minecart! MC-20757 Hunger bar not showing MC-21420 If you are on a minecart or a boat your hunger bar disappears. MC-23911 Hunger Bar Disappears While In Minecart MC-24202 Whilst in a boat, Sturation bar (Hunger bar) goes invisible MC-24427 Missing Hunger Bar While In Boat MC-24889 Hunger bar invisible when riding boat. MC-24980 If you logged out of a 1.6.1 server in a boat and logged back in on 1.6.2 your hunger bar is missing MC-25298 Canot see hinger bar while riding entity MC-25620 While in a boat hungar won't show MC-25688 hungerbar MC-26147 when riding a boat it doesn't show hunger bar MC-26613 Can't see hunger in minecart. MC-27142 Hunger Meter gone while riding boat MC-28532 While in a minecart, you can not see hunger bar. MC-30472 hungerbar is invisible MC-32474 Hunger Bar Not Displaying When Riding In A Minecart MC-32512 Boat Bug MC-32621 cant see hunger when in a boat MC-32892 Boat bug MC-33278 No food bar in boat MC-36031 There is no hunger bar while sitting in a minecart MC-36956 Food meter MC-37392 Hunger Bar Not Showing Up In Boat MC-37938 Hunger Bar while sitting in a Minecart is not shown MC-41747 hunger bar not visible in a boat MC-44101 Hunger bar isn't shown on minecart MC-44131 Minecarts MC-45271 A Minecraft Bug MC-49184 Hunger bar invisible when in boats or minecarts MC-53711 Hunger Bar Does Not Show When Riding Boat MC-59758 Food bar not displayed in minecarts MC-60584 Hunger Bar Disappearing MC-61141 hunger bar dissapears MC-62038 Im not have food bar MC-62148 No hunger bar MC-69031 No Hungar Bar in a boat MC-75125 Hunger bug MC-82340 Boat Issue MC-84301 Hunger bar disappears MC-84750 When in a minecart, You don't loose hunger. MC-94793 Riding minecart food bug MC-96504 Hunger bar dose not show on Minecarts MC-96723 Hunger bar missing while in boat

Attachments

Comments

migrated
[media][media][media]
Fuegon

Worked for me. But I think this is a feature because it also happens in horses and minecarts. You dont consume hunger and you don't need to see it when you are ridin a vehicle.

Tails

Confirmed in 13w21b.

fake fakes

Still in 13w25a

Dylan Rivers

I think the reason is that the game is trying to show you the health of the entity (like with a horse) but seeing as it does not have any it comes up blank

Nick Bennett Smith

I think it doesn't show the hunger bar because since you're on a boat or minecart, you don't walk or sprint, which means you don't lose hunger, so there would be no point in having the hunger bar while riding.

Dylan Rivers

Its something that should be there and isn't, therefore a bug.

Anna Genet

urrrgh i am giving up on reporting bugs because i use the search function but someone always reports the bug just before me _

Dylan Rivers

Please update for 1.6.2

Roadsguy

Yeah, just noticed it myself in 1.6.2.

dylan puckett

Since the horse update, riding minecarts, boats, and horses has,as far as I've noticed, replaced the hunger and exp bar with the horse's jump bar.

Sen

I'm not sure this is a "bug" so much as an oversight or even intentional. When horses were added, the UI for riding ALL entities changed. For example, when riding a pig, you no longer see your hunger bar either. You see the pigs health. Since boats do not have a health bar, nothing shows. But the spot is occupied by the ridden entity's health, not your hangar anymore. Bugs are consequences of broken code, not simple oversights. But it is still something that should probably be reversed.

Afzal Rahman

Maybe the hunger bar could be put above the health bar, and as for armor, it could either be above the hunger bar, or overlay the health bar.

Simons Mith

Seems a bit unfair that you can't see your hunger bar in a boat, but /can/ still starve to death. (Edit: Another query - what about poisoning and hunger effects? You might be able to contrive to empty your hunger bar, even though theoretically sitting in a minecart/boat should mean you don't starve. Admittedly, you might be able to contrive the same starvation problem while sitting on a pig or horse, which suggests to me the hunger bar should always be present, regardless of what you're riding.)

Also, it would make the UI more consistent if we /could/ see the 'health' of boats and minecarts, [and indeed if they /had/ some health, rather than the damn things disintigrating at the tiniest bump, especially boats. (I believe they are implemented internally as low health, very rapid regeneration at present). Better IMO would be very high health, no or very slow regeneration.]

NB I'm mentioning the bit in [ ] brackets as part of my reason for supporting this issue, but I appreciate the boat fragility annoyance is a separate problem.

Ethan Wanless

This is a bug? I thought it was intended

galaxy_2alex

Well, yes, because of the changes to hunger (healing costs hunger) you can still lose hunger (and therefor starve to death). So I guess now it would be considered a real bug.

G A

Happens in 1.7 pre-release.

Sen

@Galaxy_2Alex

No, since the feature is working as it was created to do and is not malfunction doing to inadequate code, it is not a bug.

Because it's unnecessarily inconvenient to the player and a consequence of the developers not considering it, it is an oversight.

There is a huge difference. For one, it makes hunger shown on boats a feature request. Not a bug fox request.

Sen

Fix* I'm typing from a phone with a baby grabbing at me. Oops.

megascience

I thought I remember at one point a developer said you wouldn't lose hunger in something like a Minecart since it'd be a problem on long rides, although that was a long time ago so I'm not sure if my memory is bad.

Although that doesn't mean it should hide the hunger bar. I'm probably thinking wrong, but in any case still a problem.

Ezekiel

You don't loose hunger, it's just pointless when there is nothing else to show.

Sen

You do not DIRECTLY lose hunger when riding any mount: a boat, minecart, pig or horse. You only lose hunger from moving when you move, not when something is moving you.

Because of this, the hunger bar was removed to display the health of horses and pigs. The hunger bar was removed from all mounts - the code is shared.

Since then, Mojang has made it so that you lose hunger when you regenerate naturally (an addition I strongly support). This has made it possible to INDIRECTLY lose hunger on a boat if you are hurt and healing naturally.

Hence it is an oversight.

You're unlikely to get hurt enough on a boat to drain enough hunger to kill you from healing. And you can just try to eat something to check of your hunger is low.

But it wouldn't hurt to add the hunger bar backs to mounts and add the mount health above it (3 lines max). Nor would it hurt to add the jump bar ABOVE the XP bar.

These are all FEATURE REQUESTS. Not bug fix reports.

Roachy

>"You're unlikely to get hurt enough on a boat to drain enough hunger to kill you from healing."

There are are several reasons you could be significantly hurt riding a boat or minecart, including being attacked by mobs, suffocation, fall damage, lava, potion effects, etc.

I have to admit that this is in fact an oversight and not a bug, but it amounts to a pretty bad UI inconsistency. The fact that you're unlikely to lose hunger in these situations is irrelevant to the fact that a critical UI element is missing.

Let's pretend sitting in a minecart made you invulnerable. Would you be cool with not seeing your health while in a minecart? When you're not gaining or losing XP your XP level will always be the same. Should that be hidden when you're not at an enchanting table?

galaxy_2alex

Okay, let's see... yes, this should be a good example:
If someone who hasn't got that much experience in Minecraft is riding a boat, takes damage from Skeletons and such, and after some time he is running out of Hunger Points and takes randomly damage. He has no idea what's happening, and gets confused.
Most of the people here are experienced players, but this should be a game or everyone.

Itouch2

Confirmed for 1.7.5, 14w08a and 14w10c

Itouch2

Confirmed for 14w11b

Itouch2

Confirmed for 14w17a

Dlawso the Really Lucky Rabbit

This has been intended the whole time. This is due to something new that was added in 13w17a called the "health of a mob" which occurs when you ride a pig or a horse. Additionally, due to this happening, any entity that you ride will have the health of it show up in place of the hunger bar. Due to the minecart and the boat not being a mob, no health shows up.

Roadsguy

@Blah Yes, that's definitely the cause, but to have the hunger bar disappear in boats and minecarts with nothing taking their place is just silly, and makes it look like they missed a spot, intentional or a bug. A change resulting from another intentional change isn't necessarily intentional.

a

I agree that just because something was intended doesn't mean it's automatically good design. I never saw this as an accidental bug, but I have always been bothered by the mechanic nonetheless.

Roachy

> "A change resulting from another intentional change isn't necessarily intentional."

Well put. This guy gets it.

Sen

No one said it was intentional. It still isn't a bug. There is a clear difference in technical terms of the meaning. The implementation of the feature was intentional, how it was implemented was intentional, and it did not break any piece of the MineCraft engine/components when done.

However, related features were detracted from. This qualifies as a design "oversight", not a "bug".

Which means this belongs in a Suggestions section, not a Bug Report section.

Roadsguy

@Sen In that case, then there are a lot of bugs that shouldn't have been "fixed," but were, perhaps the first being "Squids can breathe air."

a

Uh, there are quite a few reports on this site that are the result of oversight and not bugs in the strictest sense. If design oversight confuses, frustrates, or misdirects the user, then how is that not a "bug" as most people use the term? It's an error of logic (as opposed to syntax). Sure it's a little more broad than "this logical error physically broke something", but how does that make the grievance invalid?

Just look at MCL-1049, the largest launcher issue. It was oversight that caused it, not a bug according to your definition.

Roachy

Not that it's relevant to this issue, but I came across a funny side effect that emphasizes this issue while playing with the Twilight Forest mod. In this mod there exists a hostile mob, a giant pinching beetle of sorts. It charges you, grabs you (read: forcibly makes you ride it) and walks around with you and causes damage over time until you kill it.

In this case, because you are riding an entity, your health doesn't show up, even though the very thing you are riding inherently causes damage to you, and you would need to know that information.

Obviously mod-based arguments are not valid here, but imagine if Mojang wanted to code in a similar enemy or mechanic. They would change this behavior real quick.

Just to give a realistic example off the top of my head, say horses could be set on fire by zombies like players can. That fire could damage both the horse and the player riding it. Too bad you can only view the health of one or the other :[ For that matter it might even be possible already for both a horse and a riding player to take fire damage.

Sam Bone

I know the exact reason why, the game thinks you are riding a mob that has specific health. That means a mob like horses, cows, pigs, skeletons, creepers, zombies, endermen, and many more. Boats and minecarts. The game can't render the boat's or minecart's health because they have a different type of health. Yes, they are mobs, (although some wouldn't agree, any entity with health is a mob.) Boats and minecarts have health that is affected by the tool(s) you use to break them. Minecarts break best with a sword or pickaxe, as boats break best with an sword or axe. Other mobs specific health is used differently. There's only one exception: Axes and baby zombies, as far as I know, baby zombies die faster with axes than swords.
Edit: I am not 100% sure, as for I can't really confirm this, but I am pretty sure.

Sonicwave

Confirmed for 1.8.

Sonicwave

Confirmed for 1.8.1-pre1.

Jeremy

confirmed for 1.8.1 pre-3

Sonicwave

Still in 1.8.1-pre4.

Tucker Boniface

No hunger bar when riding in a minecart.

Sonicwave

MC-84301 confirms the issue for 15w31c.

user-dc9d5

It's not a bug. It's a weird feature. But still would be cool to remove it.

wobst.michael

Still an issue in 15w43b

marcono1234

Confirmed for

  • 15w51b

This affects and will affect all entities that the player can ride. A temporary fix would be to change the func_180477_d(ScaledResolution p_180477_1_) method of the net.minecraft.client.gui.GuiIngame class (MCP 1.8 names) to only do not show the food bar when a player is riding an entity of the class net.minecraft.entity.EntityLivingBase. This would however not fix this for horses and pigs.

private void func_180477_d(ScaledResolution p_180477_1_)
{
	if (this.mc.func_175606_aa() instanceof EntityPlayer)
	{
		//...
		
		Entity var34 = var2.ridingEntity;
		int var36;

		// Replaced this
		//if (var34 == null)
		if (!(var34 instanceof EntityLivingBase))
		{
			//...
		}
		// Replaced this
		//else if (var34 instanceof EntityLivingBase)
		else
		{
			//...
		}
		
		//...
	}
}
Block twenty-eight

Can confirm this bug for release 1.9

violine1101

Can confirm for 1.9.2

violine1101

Still in 1.9.4

violine1101

Still in 16w20a

violine1101

Still in 16w21a and 16w21b

violine1101

Still in 1.10-pre1

Block twenty-eight

Still in Release 1.10

Block twenty-eight

Still in 1.10.2

Joshua Watson

Jens Bergensten

Confirmed

bar, boat, hunger, minecart

Snapshot 13w17a, Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Snapshot 13w24a, ..., Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2

Minecraft 16w32a

Retrieved