Skip to content

feat: backported keymapping + modifiers abstraction support#201

Merged
desht merged 3 commits into
1.21.1/devfrom
feature/keybindings
Jul 20, 2026
Merged

feat: backported keymapping + modifiers abstraction support#201
desht merged 3 commits into
1.21.1/devfrom
feature/keybindings

Conversation

@MichaelHillcox

@MichaelHillcox MichaelHillcox commented Jul 18, 2026

Copy link
Copy Markdown
Member

The addition of the Fabric mod in the toolchain deps caused the toolchain to fall over so I needed to update it. This is also reflecting in the paired Quests PR

Sorry about the import reordering. I have no idea why our ide's are different on that

Comment on lines 24 to 32
public KeyReferenceScreen(String... translationKeys) {
this.translationKeys = translationKeys;
this(buildText(translationKeys));
}

textPanel = new TextPanel(this);
public KeyReferenceScreen(List<Pair<Component, Component>> keyValueComponents) {
textPanel = new TextPanel(this, keyValueComponents);

closeButton = new SimpleTextButton(this, Component.translatable("gui.close"), Icons.CANCEL) {
@Override

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was done to allow for the more complex use of this screen via FTB Quests

@desht
desht merged commit 239bab4 into 1.21.1/dev Jul 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants