Advertisement
Guest User

Untitled

a guest
May 13th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. public class CommonProxy {
  2.     /**
  3.      * Returns a side-appropriate EntityPlayer for use during message handling
  4.      */
  5.     public EntityPlayer getPlayerEntity(MessageContext ctx) {
  6.      return ctx.getServerHandler().playerEntity;
  7.     }
  8.     public ModelBiped getArmorModel(int id) { return null; };
  9.     public void preInit(FMLPreInitializationEvent e) {
  10.         ModItems.createItems();
  11.     }
  12.  
  13.     public void init(FMLInitializationEvent e) {
  14.  
  15.  
  16.     }
  17.    
  18.     public void postInit(FMLPostInitializationEvent e) {
  19.  
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement