1
0
forked from Clones/Controlify

Remove vanilla override for swap hand, inventory, change perspective

This commit is contained in:
isXander
2023-05-14 22:55:36 +01:00
parent 4945e5e698
commit 460de0d73f
3 changed files with 27 additions and 4 deletions

View File

@ -200,14 +200,12 @@ public class ControllerBindings<T extends ControllerState> {
.defaultBind(GamepadBinds.BACK)
.category(GAMEPLAY_CATEGORY)
.context(BindContexts.INGAME)
.vanillaOverride(options.keyTogglePerspective, () -> false)
.build());
register(SWAP_HANDS = ControllerBindingBuilder.create(controller)
.identifier("controlify", "swap_hands")
.defaultBind(GamepadBinds.X_BUTTON)
.category(INVENTORY_CATEGORY)
.context(BindContexts.INGAME, BindContexts.INVENTORY)
.vanillaOverride(options.keySwapOffhand, () -> false)
.build());
register(OPEN_CHAT = ControllerBindingBuilder.create(controller)
.identifier("controlify", "open_chat")