Is there a way to make a custom overlay pop up when you press a custom kebyinding

Started by Herobrine2014 on

Topic category: Help with modding (Java Edition)

Last seen on 17:27, 19. Jan 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to make a custom overlay pop up when you press a custom kebyinding

So I'm making a combat mod, which just adds guns and melee weapons

and I made a sniper, I want the player to press the keybinding and they'll see a scope pop up

Anyone know how to do this?

(If its even possible)

Last seen on 16:53, 8. Jul 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it is possible go on YouTube…
Thu, 07/02/2020 - 10:22

it is possible go on YouTube and search for different mcreator overlay tutorials you will find a solution!

 

Last seen on 17:27, 19. Jan 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you but no youtuber…
Mon, 07/06/2020 - 14:17

Thank you but no youtuber has made a video about keybinding activating overlays

I think anyway, will continue to find If I can do this

Last seen on 16:48, 17. Dec 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make a keybind that…
Mon, 07/06/2020 - 14:37

You can make a keybind that activates a procedure, which would open the GUI for you

Last seen on 16:48, 17. Dec 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and I think there's a way to…
Mon, 07/06/2020 - 14:38

and I think there's a way to make overlays appear if a certain value is true, you could do that with a player-sided variable that toggles when you press the key.

Last seen on 17:27, 19. Jan 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok I'll see
Mon, 07/06/2020 - 19:31

ok I'll see

Last seen on 20:42, 23. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add an overlay…
Mon, 04/18/2022 - 19:30

You can add an overlay because now there is a mod element called overlay.