Class TooManyKeybindsCompat
java.lang.Object
dev.munebase.dynamickeybinds.compat.TooManyKeybindsCompat
Optional compatibility with TooManyKeybinds (Forge), done purely by reflection so there is
no compile-time or runtime dependency on it.
TooManyKeybinds builds its pages once at startup from Options.keyMappings, so keybinds
added or removed at runtime never show up. This rebuilds its page handler after our mappings change.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrefreshPages(org.slf4j.Logger logger) Rebuilds TooManyKeybinds' pages from the current key mappings.
-
Method Details
-
refreshPages
public static void refreshPages(org.slf4j.Logger logger) Rebuilds TooManyKeybinds' pages from the current key mappings. No-op if it isn't installed. Must be called on the client thread.
-