KeyBinding flag is an option to control how the keybind should behave in client-side.
1. Capture Enforcement
- With enforced mode, if a key is already-registered by Minecraft or another mod, its state change can still be captured. No client-side actions will be cancelled.
2. Editable
- This property permits editing a key-binding.
- If there is a conflict and the key-bind is not editable, a notice may be sent to the server. However, there is no state update will be sent.
3. Optimized State Update
- In optimized mode, a state update is sent if and only if the
isPressed property changes
- This mode helps improving performance by reducing an amount of packets
KeyBinding flag is an option to control how the keybind should behave in client-side.
1. Capture Enforcement
2. Editable
3. Optimized State Update
isPressedproperty changes