PastebinNotWorking10

Keybinds

Jul 5th, 2017
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package com.XxDanielMCYTxX.hypixelchat1;
  2.  
  3. import org.lwjgl.input.Keyboard;
  4.  
  5.  
  6.  
  7.  
  8. import net.minecraft.client.settings.KeyBinding;
  9. import net.minecraftforge.client.model.b3d.B3DModel.Key;
  10. import net.minecraftforge.fml.client.registry.ClientRegistry;
  11.  
  12. public class Keybinds
  13. {
  14. public static KeyBinding hello;
  15. // I did this Simple one to Try Test if it works.
  16.  
  17. public static void register()
  18. {
  19. hello = new KeyBinding("hello", Keyboard.KEY_H,"tutorial");
  20.  
  21. ClientRegistry.registerKeyBinding(hello);
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment