aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java b/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java
index a4f6cfe16..7ebcdea23 100644
--- a/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java
+++ b/src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java
@@ -54,6 +54,7 @@ public class ClientHelperImpl implements ClientHelper, ClientModInitializer {
private final Identifier nextPageKeybind = new Identifier("roughlyenoughitems", "next_page");
private final Identifier focusSearchFieldKeybind = new Identifier("roughlyenoughitems", "focus_search");
private final Identifier copyRecipeIdentifierKeybind = new Identifier("roughlyenoughitems", "copy_recipe_id");
+ private final Identifier favoriteEntryKeybind = new Identifier("roughlyenoughitems", "favorite_entry");
private final Map<String, String> modNameCache = Maps.newHashMap();
public FabricKeyBinding recipe, usage, hide, previousPage, nextPage, focusSearchField, copyRecipeIdentifier;
@@ -74,6 +75,13 @@ public class ClientHelperImpl implements ClientHelper, ClientModInitializer {
}
@Override
+ public FabricKeyBinding[] getREIKeyBindings() {
+ return new FabricKeyBinding[]{
+ recipe, usage, hide, previousPage, nextPage, focusSearchField, copyRecipeIdentifier
+ };
+ }
+
+ @Override
public FabricKeyBinding getRecipeKeyBinding() {
return recipe;
}