OneBar

OneBar

2.7k Downloads

Numeric horse jump height

Madis0 opened this issue ยท 1 comments

commented

Horse jump height could be displayed as number of blocks, including decimals (because block heights vary) which should always show a leading zero. Opt-out (in?) with an option.

https://minecraft.fandom.com/wiki/Horse#Jump_strength
https://github.com/d4rkm0nkey/HorseStatsVanilla/blob/main/src/main/java/monkey/lumpy/horse/stats/vanilla/util/Converter.java#L5
https://github.com/ate47/HorseInfo/blob/1.18-fabric/src/main/java/fr/atesab/horsedebug/HorseDebugMain.java#L204
https://github.com/smujaddid/hwyla-addon-horseinfo/blob/1.18/src/main/java/net/pancham138/horseinfo/HorseInfo.java#L66

Todo:

  • Minimum should always be 1 (aka 1 block) no, caused too many issues
  • Test with different heights
    • Maybe test a different mod's algorithm?
  • Make the bar wider
    • Adjust number location inside the bar
  • Setting localization
    • Maybe change setting variable name
  • Release, mention decimal fix
commented

Added in 2.6.0