Discuss Minecraft's scripting and modding capabilities, including APIs, tools, customization, automation, and creator workflows. Share ideas and feedback on how players and creators can extend and customize Minecraft.

14

Adding a keybind option in datapacks.

1 Comments

Post a new comment:

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"]

    }