Advertisement
Lyonlancer5

ClSample

May 10th, 2015
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. //ClientProxy class
  2. public class ClientProxy extends CommonProxy
  3. {
  4.   //Register in main method via calling "proxy.registerKeyBindings"
  5.   @Override
  6.   public void registerKeyBindings(){
  7.   FMLCommonHandler.instance().bus().register(new KeyHandler());
  8.   }
  9. }
  10.  
  11. //CommonProxy class
  12. public class CommonProxy
  13. {
  14.   public void registerKeyBindings(){
  15.   //leave empty
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement