Skyblocker icon indicating copy to clipboard operation
Skyblocker copied to clipboard

✦ Speed Status Bar

Open IllagerCaptain opened this issue 1 year ago • 7 comments

Describe the new feature.

Similar to I think it was SkyBlock add-ons, a speed status bar on the hud would be cool. It'd probably be hidden by default and have to be dragged into place in the config screen.

Regarding calculating speed, I believe the best approach would be calculating the attribute $generic.movement\_speed × 1000$.

Images

No response

IllagerCaptain avatar Jul 20 '24 01:07 IllagerCaptain

I think it would probably be better as a just some text you can freely move around since I don't know if speed is fit for a bar.

AzureAaron avatar Jul 20 '24 06:07 AzureAaron

Regarding calculating speed, I believe the best approach would be calculating the attribute generic.movement_speed×1000.

Yeah, that should be the best for the majority of cases, as it will show the effective movement speed and doesn't require the stat to be enabled in the tab list widget.

There are a few cases where you can have a speed cap above 500 but your effective speed is still capped to 500% (is this still a thing on newer Minecraft versions?), which may matter for things like the Warden Helmet, but those are niche cases and the players can probably just check their stats menu or tab list instead.

I'd also note that the Rift is a special case where potion effects such as Speed affect your effective movement speed but not generic.movement_speed, but it's probably not a big deal either.

lunaynx avatar Jul 20 '24 14:07 lunaynx

The way I calculate it over in SBT is player.getMovementSpeed() * 1000 (and dividing that by 1.3 if sprinting), in my tests, that always seems to give the accurate Skyblock Speed Stat.

MisterCheezeCake avatar Jul 20 '24 14:07 MisterCheezeCake

I think it would probably be better as a just some text you can freely move around since I don't know if speed is fit for a bar.

tbf the way the status bars work, it's a far better fit than the armour one.

Speed has a cap, as well as current speed

Amour just x Defence out of ????

BigloBot avatar Jul 20 '24 14:07 BigloBot

~~What if we just had the option to toggle bars around the text to make them more compact if the user desires so?~~ Nvm I thought this was about the colored rectangle and the title of gui widgets

Emirlol avatar Jul 20 '24 15:07 Emirlol

I think it would probably be better as a just some text you can freely move around since I don't know if speed is fit for a bar.

tbf the way the status bars work, it's a far better fit than the armour one.

Speed has a cap, as well as current speed

Amour just x Defence out of ????

the bar represents the percentage of damage you are protected from iirc

viciscat avatar Jul 20 '24 16:07 viciscat

I'd also note that the Rift is a special case where potion effects such as Speed affect your effective movement speed but not generic.movement_speed, but it's probably not a big deal either.

Aren't bars disabled in the rift?

IllagerCaptain avatar Jul 20 '24 18:07 IllagerCaptain