Class CommonClientKeybindPersistence
java.lang.Object
dev.munebase.dynamickeybinds.client.CommonClientKeybindPersistence
Shared client-side persistence/sync flow used by both Forge and Fabric.
-
Constructor Summary
ConstructorsConstructorDescriptionCommonClientKeybindPersistence(org.slf4j.Logger logger, String platformName, BiConsumer<String, Integer> updateSender) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleServerSync(List<StoredKeybind> serverKeybinds) voidvoidvoid
-
Constructor Details
-
CommonClientKeybindPersistence
public CommonClientKeybindPersistence(org.slf4j.Logger logger, String platformName, BiConsumer<String, Integer> updateSender)
-
-
Method Details
-
handleServerSync
-
pollAndSyncDynamicKeyRebinds
public void pollAndSyncDynamicKeyRebinds() -
onClientLogin
public void onClientLogin() -
onClientLogout
public void onClientLogout()
-