Open Raidobw2 opened 1 year ago
I just encountered this in 1.20.1, so it is still broken. Defining a keybind in defaultoptions.txt
actually breaks the default options entirely. No other default option will be copied over. There is an associated error in the console:
I found a way around this bug. Add the version field in the options.txt
file to defaultoptions.txt
. In my case it was version:3120
. This stops the options from being datafixed, which is where the error is encountered.
Minecraft Version
1.19.2
KubeJS Version
kubejs-forge-1902.6.0-build.142.jar
Rhino Version
rhino-forge-1902.2.2-build.264.jar
Architectury Version
architectury-6.5.69-forge.jar
Forge/Fabric Version
Forge 43.2.6
Describe your issue
In
kubejs/config/defaultoptions.txt
, if you set the following keybind for the multiplayer chat key:Then make sure
options.txt
is deleted from the game folder, you can load the game and in-game the keybind will be:Normally the key would be expected to be "Enter" or "Return", though in this case it remained to the default minecraft setting "T".
Note that sound setting overrides seem to work properly, although keybinds do not. Perhaps this is an issue pertaining only to keybinds in particular.
For example, setting master volume to 5% in the default options will correctly reflect 5% shown in the game menus, once the game loads up.
Please see the attached report below and note that the enter value was copy-pasted from the values themselves found in
options.txt
todefaultoptions.txt
. Here is the log file in case the paste withers awayThanks a lot in advance for checking it out sometime!
Crash report/logs
https://paste.feed-the-beast.com/view/d62e02d4