Traincraft

Traincraft

1M Downloads

Config only half works

EternalBlueFlame opened this issue ยท 4 comments

commented

This was mentioned by FirEmerald but I can confirm, changing key used in config does not actually change key used in game. Inventory (R) as an example.

commented

Looks like there are places where hard coded values for keys are being used instead of variables. For instance: https://github.com/EternalBlueFlame/Traincraft-5/blob/1.7/src/main/java/train/common/api/Locomotive.java#L337-L369

commented

The whole thing is outdated. This needs a total rewrite for keys

commented

This is what Modular Powersuits uses for the normal keybinding (the odd GUI style keybinding is something I'll probably get rid of in 1.10.2): https://github.com/MachineMuse/MachineMusePowersuits/blob/experimental/src/main/scala/net/machinemuse/powersuits/control/KeybindKeyHandler.java

commented

I have fixed this issue, once the fork is merged this can be closed.