Hide a keybinding?

Started by Seshua on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 weeks ago
Joined Apr 2020
Points:
798

User statistics:

  • Modifications: 4
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 100
Hide a keybinding?

Hello,

 

Anyone know a way of hiding a custom keybind in the menu. I want my keybind to function when pressed but I don't want it to be able to be changed.

Active 2 years ago
Joined Sep 2022
Points:
381

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
If you want to hide it, it…
Mon, 10/03/2022 - 13:51

If you want to hide it, it should have an option for display make a procedure like this:

if (variable) = true

return = true

then out of the if procedure block:

return = false