Guest User

Untitled

a guest
May 3rd, 2015
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. package net.nukacraft.src;
  2.  
  3. import net.minecraft.client.settings.KeyBinding;
  4.  
  5. import org.lwjgl.input.Keyboard;
  6.  
  7. import cpw.mods.fml.client.registry.ClientRegistry;
  8.  
  9. public class RegKey2 {
  10.  
  11. private static final String cat_name = "category.control_button.name";
  12.  
  13. public static KeyBinding button_left = new KeyBinding("key.button_left.name", -100, "cat_name");
  14.  
  15. public static void preInit() {
  16.  
  17. ClientRegistry.registerKeyBinding(button_left);
  18.  
  19. }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment