Hello Mojang Studios Team,
I am a Minecraft Java Edition datapack developer and would like to ask about a possible expansion related to predicates and player input detection.
At the moment, predicates can only detect a very limited set of player actions or states. In contrast, resource packs—specifically model overrides—already support a much broader and clearly defined set of inputs through key_bind, including keyboard keys and mouse buttons.
I would like to ask whether it would be feasible to expand predicates so they can detect the same range of player inputs supported by key_bind, effectively aligning both systems to use a unified set of input definitions.
For example, predicates could allow checks such as:
• Whether the player presses the Esc key
• Whether the player clicks the left or right mouse button
This would significantly enhance datapack capabilities for advanced minigames, custom interactions, and UI-like mechanics, while remaining server-side and without requiring client-side mods.
I understand there may be design or performance considerations, but I would appreciate knowing whether this direction aligns with the long-term plans for commands and datapacks.
Thank you for your time and for your continued work on Minecraft.
Best regards,
Nox_Obscura
Please sign in to leave a comment.
0 Comments