Class CommonClientKeybindPersistence

java.lang.Object
dev.munebase.dynamickeybinds.client.CommonClientKeybindPersistence

public final class CommonClientKeybindPersistence extends Object
Shared client-side persistence/sync flow used by both Forge and Fabric.
  • Constructor Details

    • CommonClientKeybindPersistence

      public CommonClientKeybindPersistence(org.slf4j.Logger logger, String platformName, BiConsumer<String,Integer> updateSender)
  • Method Details

    • handleServerSync

      public void handleServerSync(List<StoredKeybind> serverKeybinds)
    • pollAndSyncDynamicKeyRebinds

      public void pollAndSyncDynamicKeyRebinds()
    • onClientLogin

      public void onClientLogin()
    • onClientLogout

      public void onClientLogout()