Like the "Taking inventory" achievement, which triggered when the inventory key was pressed.
In the JSON format it would take a keybind identifier in string format as input much like the keybind content type for JSON text components ({"keybind": "key.inventory"}).
I would like to see an addition like this because it implements multiple desired capabilities in one feature addition. Right click detection can be achieved by setting the value to "key.use", left click detection can be accomplished by setting the value to "key.attack", GUI opening/closing detection can be accomplished by setting the value to "key.inventory", etc.
Please sign in to leave a comment.
0 Comments