See attached screenshot.Code analysis by @unknown can be found here.
Can confirm in 1.19.
Code analysis (yarn 1.19)In GameOptions we can find the following line:
GameOptions
GameOptions.java
this.mouseWheelSensitivity = new SimpleOption<>("options.mouseWheelSensitivity", SimpleOption.emptyTooltip(), (optionText, value) -> getGenericValueText(optionText, (Text)Text.literal(String.format("%.2f", new Object[] { value }))), /* omitted */);
This uses String.format without explicit locale. This causes it to format using system locale instead. Fixing this is straightforward; just replace it with String.format(Locale.ROOT, "%.2f".
String.format
String.format(Locale.ROOT, "%.2f"
Reporter: migrated
Assignee: (Unassigned)
Created: 2019-04-22T18:14:54Z
Updated: 2025-04-30T14:31:54Z
Resolved: 2022-07-15T11:08:13Z
Confirmation Status: Confirmed
Category: UI
Affects Versions: Minecraft 1.14 Pre-Release 5, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w45b, 1.19
Fix Versions: 1.19.1 Pre-release 5
Retrieved 2026-10-11T05:26:22Z
Can confirm in 1.19.
Code analysis (yarn 1.19)
In
GameOptionswe can find the following line:GameOptions.java
This uses
String.formatwithout explicit locale. This causes it to format using system locale instead. Fixing this is straightforward; just replace it withString.format(Locale.ROOT, "%.2f".