Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
80 stars 23 forks source link

Request: add a variable for if a player is sprinting #66

Closed ghost closed 1 year ago

ghost commented 1 year ago

preferably, it would show constantly if you are sprinting, even if you aren't moving at that moment

Minenash commented 1 year ago

Will add, I don't know if it'll work in your preferred way, it'll be true as long as Minecraft considers you to be sprinting

Minenash commented 1 year ago

Codded, will be in next release. Also added {sneaking}, {swimming}, and {on_ground}

ghost commented 1 year ago

Is there any way for it to display when you have toggle sprint or toggle sneak enabled, as well?

Minenash commented 1 year ago

As in if the setting is set, or if toggle was pressed

ghost commented 1 year ago

I guess I'm looking for something like the lunar togglesprint display. It says when you are sprinting because you have togglesprint enabled, when you are sprinting because you double pressed the forward key, and if you are sneaking. is something like that possible with the information available in vanilla, or did they do something to make the togglesprint go through their own systems?

Minenash commented 1 year ago

It does say true if you're sprinting and sneaking at the same time. It currently doesn't say true if the toggle is on, but you're not moving. I assume you want it to be true even when you're not moving?

Minenash commented 1 year ago

Released in v3.0!