diff --git a/common/src/main/java/dev/terminalmc/clientsort/screen/ClothConfigScreenProvider.java b/common/src/main/java/dev/terminalmc/clientsort/screen/ClothConfigScreenProvider.java index e5df536..26ff78d 100644 --- a/common/src/main/java/dev/terminalmc/clientsort/screen/ClothConfigScreenProvider.java +++ b/common/src/main/java/dev/terminalmc/clientsort/screen/ClothConfigScreenProvider.java @@ -40,6 +40,7 @@ static Screen getConfigScreen(Screen parent) { general.addEntry(eb.startIntField(localized("option", "interaction_rate_server"), options.interactionRateServer) + .setTooltip(localized("option", "interaction_rate.tooltip")) .setErrorSupplier(val -> { if (val < 0) return Optional.of( localized("option", "error.low")); @@ -53,6 +54,7 @@ else if (val > 100) return Optional.of( general.addEntry(eb.startIntField(localized("option", "interaction_rate_client"), options.interactionRateClient) + .setTooltip(localized("option", "interaction_rate.tooltip")) .setErrorSupplier(val -> { if (val < 0) return Optional.of( localized("option", "error.low")); diff --git a/common/src/main/resources/assets/clientsort/lang/en_us.json b/common/src/main/resources/assets/clientsort/lang/en_us.json index 894490d..cd1f7ac 100644 --- a/common/src/main/resources/assets/clientsort/lang/en_us.json +++ b/common/src/main/resources/assets/clientsort/lang/en_us.json @@ -11,6 +11,7 @@ "option.${mod_id}.general": "General", "option.${mod_id}.interaction_rate_server": "Multiplayer Interaction Rate", "option.${mod_id}.interaction_rate_client": "Singleplayer Interaction Rate", + "option.${mod_id}.interaction_rate.tooltip": "Reduce to sort faster, increase if you are experiencing packet rate issues", "option.${mod_id}.hotbar_mode": "Hotbar Mode", "option.${mod_id}.sorting": "Sorting",