A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.

14

Adding a keybind option in datapacks.

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    Please add this! 

    This feature would add so much customization to datapacks. Most mods could then be transferred to datapacks. This is a very big reason of why mods usually don't have a datapack version. 

    For non-Mojang people

    Please vote and comment why you think this should be added. Wouldn't it be HUGE?

    For the creator of this post

    Thank you for adding this! You would need a way to activate multiple functions. (maybe edit the post). It would instead look something like this:

    "custom_keybind": {

         "display_name": "CUSTOM_KEYBIND",

         "default_key": "Keyboard.X",

         "player_can_rebind": true,

         "called_functions": ["datapack:example_function_1","datapack:example_function_2"]

    }