Setting a Keybind to None

Started by woodcraft on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Setting a Keybind to None

Is it possible to select no default keybind for well keybinds?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...Probably not. This would…
Mon, 01/02/2023 - 17:10

...Probably not. This would mean there would be no way to detect the player pressing the key; and even if this is what you're trying to do, keybinds can still be reset at any time. If you're trying to disable a Vanilla keybind, this definitely isn't possible. What, specifically, do you need to do this for?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well I want to include…
Wed, 01/11/2023 - 17:29

Well I want to include optional keybinds that are bound to nothing, I know this is possible as I've seen it in several mods.

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Which Minecraft Version do…
Fri, 01/13/2023 - 11:41

Which Minecraft Version do you work with your Mod?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1.18.2 & 1.16.5
Fri, 01/13/2023 - 17:48

1.18.2 & 1.16.5

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I can think about is to…
Sat, 01/14/2023 - 09:08

What I can think about is to make a Keybind with your Procedures etc. with a random Keybind.

Then copy everything of the code and make it manually then you can change the Keybind in the Code.

This is necessary because the Code at the Keybinding Mod Element is locked and will be generated after each build.