Hiding the player hearts in 1.16+

Started by Ro... on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hiding the player hearts in 1.16+

Hi, so in 1.15.2 there is an easy way to hide the Health bar by editing the code of a new created overlay (Im making a mod which allow the player to have +300 Health, so of course i don't want for half of the screen to be hidden due to the hearts) , sadly, this features don't seem possible since the code in 1.16 and 1.15 isn't the same, its similar, but still different. So if any one have a solution for that, Don't hesitate to tell me!

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
first thing to come in mind…
Thu, 10/28/2021 - 02:29

first thing to come in mind is an invisible overlay covering hearts and setting its importance to High

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
good idea!, ill try that…
Sat, 10/30/2021 - 13:48

good idea!, ill try that first.

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did this work out for you?
Thu, 10/13/2022 - 16:46

Did this work out for you?