Trins-mods / Gravisuit-Classic-Edition

GNU Lesser General Public License v3.0
7 stars 8 forks source link

[1.19.2] Port/Re-Implementing GraviSuite Classic Overlay #21

Closed CrossVas closed 2 years ago

CrossVas commented 2 years ago

Yo, this PR is meant to port GraviSuite classic overlay. There are several things to be done yet, i.e. Config Values, Add Ic2 armors if needed. For now it shows GraviSuit armor stats only.

Displayed stats for: Advanced Lappack and Ultimate Lappack:

  • Energy Level %

Advanced Jetpacks

  • Energy Level %
  • Jetpack Engine Status
  • Hover Mode Status

Gravitation Jetpacks

  • Energy Level %
  • Jetpack Engine Status
  • Hover Mode Status
  • Anti-Gravity Engine Status

Demo:

image

EDIT: The value of xPos is processed outside the main block making it more clear and readable. EDIT2: Organize Imports.

CrossVas commented 2 years ago

Also there is another variant. Taking into consideration that Gravitation Jetpack has up to FOUR lines, it could look cleaner with this one. It takes only 2 lines, 1 for energy, 1 for stats Demo: https://imgur.com/T4B57uc !!! Ignore the upper Jetpack and Hover lines, those are just for reference.

CrossVas commented 2 years ago

I gave up on the second variant because it doesn't feel classic. The original one fits more. The PR is ready for merging. Let me know your opinion on this. Which one do you like more, so I can make changes.

Trinsdar commented 2 years ago

yah I think the more classic one fits better