Hide a keybinding?

Started by Seshua on

Topic category: Help with modding (Java Edition)

Last seen on 01:18, 28. Mar 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 14:11, 16. Feb 2023
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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