How to make that when you press F1 key your custom overlay doesn't hide? (Code)

Started by ElModderXD404 on Thu, 09/15/2022 - 15:30

Topic category: Help with modding (Java Edition)

Last seen on 16:54, 8. Oct 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make that when you press F1 key your custom overlay doesn't hide? (Code)
Thu, 09/15/2022 - 15:58 (edited)

Im making a map for Minecraft 1.16.5 that includes a mod (The mod im making), this mod has a VHS overlay but when you press F1 key it hides (As usual), is there a way to make him stay after you press the key like the nausea effect gui in MC VANILLA?

 

IK I have to do it with code.

Edited by ElModderXD404 on Thu, 09/15/2022 - 15:58
Last seen on 16:54, 8. Oct 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Pls answer
Fri, 09/16/2022 - 04:34

Pls answer