Universal GUI (#872)

Co-authored-by: Kogepan229 <[email protected]>
Co-authored-by: Kogepan229 <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-12-11 16:09:06 +01:00
1 parent e5ea742d7a
commit bd11e11741
225 files changed
+8182 -5684

No files matched your search

@@ -435,6 +435,11 @@ public class ClientHelper extends ServerHelper {
return this.bindings.get(key).isPressed();
}
@Override
public int getKeybind(ActionKey key) {
return this.bindings.get(key).getKeyCode();
}
@Override
public boolean isActionKey(ActionKey key, int pressedKeyCode) {
return isActiveAndMatches(this.bindings.get(key), pressedKeyCode);