How do I make an overlay change when I look at a specific thing?

Started by Bo-Katan22 on

Topic category: Help with modding (Java Edition)

Last seen on 23:43, 29. Sep 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an overlay change when I look at a specific thing?

So, I'm working on an MCU mod, and I want the Iron Man armor to have an HUD that changes depending on what you're looking at. For example, if I looked at a zombie, I'd see how much health it had, how much damage it does, equipment, etc. Same for blocks and items and structures. Can anyone help?

Thanks!