mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Mouse button binding fixed
Also, make the extra info in tooltips use the sneak keybind.
This commit is contained in:
1 parent
2326048750
commit
83d9ecaf23
8 files changed
+42
-16
No files matched your search
@@ -1,9 +1,12 @@
|
||||
package mekanism.client;
|
||||
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.settings.KeyBinding;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
import org.lwjgl.input.Mouse;
|
||||
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
@@ -20,6 +23,8 @@ public class MekanismKeyHandler extends MekKeyHandler
|
||||
public static final String keybindCategory = "Mekanism";
|
||||
public static KeyBinding modeSwitchKey = new KeyBinding("Mekanism " + MekanismUtils.localize("key.mode"), Keyboard.KEY_M, keybindCategory);
|
||||
public static KeyBinding voiceKey = new KeyBinding("Mekanism " + MekanismUtils.localize("key.voice"), Keyboard.KEY_U, keybindCategory);
|
||||
public static KeyBinding sneakKey = Minecraft.getMinecraft().gameSettings.keyBindSneak;
|
||||
public static KeyBinding jumpKey = Minecraft.getMinecraft().gameSettings.keyBindJump;
|
||||
|
||||
public MekanismKeyHandler()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user