diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-12-10 23:31:09 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-12-10 23:31:09 +0800 |
| commit | 977350c12271246c2f220761fb33d58bab872357 (patch) | |
| tree | 4de8f3bf4186d532fc9cb3ef130c1e63fff27bd3 /src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java | |
| parent | 1b055888a74e68f5a287068428dc80196558fc98 (diff) | |
| download | RoughlyEnoughItems-977350c12271246c2f220761fb33d58bab872357.tar.gz RoughlyEnoughItems-977350c12271246c2f220761fb33d58bab872357.tar.bz2 RoughlyEnoughItems-977350c12271246c2f220761fb33d58bab872357.zip | |
Semi working favorites
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/ClientHelperImpl.java | 8 |
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; } |
