In the latest versions and snapshots, there have been a lot of map making related features that were added, like the block, item and text displays, the scale, step size and interaction range attributes, and the tick command. I think what would fit in really well with this list of map making features, is a way to create custom keybinds in the game, by adding a data pack option.
This would look something like this:
"custom_keybind": {
"display_name": "CUSTOM_KEYBIND",
"default_key": "Keyboard.X",
"player_can_rebind": true,
"called_function": "FUNCTION_NAME"
}
This would make a key bind that would show up in the players controls settings, which they can rebind, and defaults to Keyboard.X. When the key is pressed it calls the function of FUNCTION_NAME. Or perhaps received by a command or something. There could even be an list of call types like: pressed, released, etc. It could also interact with scoreboards by adding a key objective to scoreboards.
This feature could be really useful for map makers, using command blocks or external plugins to make small custom key binds, or maybe rebinding an existing key by using Keys.JUMP instead of Keyboard.SPACE_BAR, for maps where jumping is disabled for example.
Please sign in to leave a comment.
0 Comments