mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-26 19:22:55 +00:00
Add Shortcut to KeyBinding (#7)
This commit is contained in:
1 parent
5be63a3f25
commit
84f2cf1182
4 files changed
+7
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package com.gtnh.findit.service.blockfinder;
|
||||
|
||||
import codechicken.nei.NEIClientUtils;
|
||||
import codechicken.nei.api.API;
|
||||
import codechicken.nei.guihook.GuiContainerManager;
|
||||
import com.gtnh.findit.FindIt;
|
||||
@@ -15,7 +16,7 @@ import org.lwjgl.input.Keyboard;
|
||||
public class ClientBlockFindService extends BlockFindService {
|
||||
|
||||
public ClientBlockFindService() {
|
||||
API.addKeyBind("gui.findit.find_block", Keyboard.KEY_Y);
|
||||
API.addHashBind("gui.findit.find_block", Keyboard.KEY_Y + NEIClientUtils.SHIFT_HASH);
|
||||
GuiContainerManager.addInputHandler(new BlockFindInputHandler());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user