Skip to content

Commit

Permalink
Place a keybind into a new category.
Browse files Browse the repository at this point in the history
Also add a new category en_US lang entry.
  • Loading branch information
portablejim committed Feb 26, 2014
1 parent f2d4b48 commit 1e691f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/assets/tinker/lang/en_US.lang
Expand Up @@ -505,6 +505,7 @@ entity.TConstruct.KingSlime.name=King Slime
entity.TConstruct.Gardeslime.name=Gardeslime
entity.TConstruct.MiniGardy.name=Gardeslime

key.tconstruct.category=Tinkers Construct
key.tarmor=Armor Gui
key.tcapes.reload=Reload Capes

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/tconstruct/client/TControls.java
Expand Up @@ -16,10 +16,11 @@

public class TControls extends TKeyHandler
{
public static final String keybindCategory = "key.tconstruct.category";
// static KeyBinding grabKey = new KeyBinding("key.grab", 29);
// static KeyBinding stiltsKey = new KeyBinding("key.stilts", 46);
public static KeyBinding armorKey = new KeyBinding("key.tarmor", 24, null);
public static KeyBinding refreshCapes = new KeyBinding("key.tcapes.reload", 88, null);
public static KeyBinding armorKey = new KeyBinding("key.tarmor", 24, keybindCategory);
public static KeyBinding refreshCapes = new KeyBinding("key.tcapes.reload", 88, keybindCategory);
static KeyBinding jumpKey;
static KeyBinding invKey;
static Minecraft mc;
Expand Down

0 comments on commit 1e691f6

Please sign in to comment.