Hiding the player hearts in 1.16+

Started by Ro... on Thu, 10/28/2021 - 01:37

Topic category: Help with modding (Java Edition)

Last seen on 21:57, 2. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Hiding the player hearts in 1.16+
Thu, 10/28/2021 - 01:37

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!

Last seen on 06:48, 4. Dec 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 21:57, 2. Dec 2021
Joined Mar 2020
Points:

User statistics:

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

good idea!, ill try that first.