Added keybinding to toggle if hud is shown

This commit is contained in:
Gig 2015-06-14 20:53:05 +01:00
parent 59d4199260
commit 98c8f43b84
6 changed files with 118 additions and 48 deletions

View file

@ -1,8 +1,10 @@
package techreborn.proxies;
import cpw.mods.fml.client.registry.ClientRegistry;
import net.minecraftforge.common.MinecraftForge;
import techreborn.client.IconSupplier;
import techreborn.client.hud.ChargeHud;
import techreborn.client.keybindings.KeyBindings;
public class ClientProxy extends CommonProxy {
@ -12,5 +14,6 @@ public class ClientProxy extends CommonProxy {
super.init();
MinecraftForge.EVENT_BUS.register(new IconSupplier());
MinecraftForge.EVENT_BUS.register(new ChargeHud());
ClientRegistry.registerKeyBinding(KeyBindings.config);
}
}