SHARE
TWEET

PCM.java

a guest Jun 29th, 2015 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Mod(modid = PCM.MODID, version = PCM.VERSION, name = PCM.MODID)
  2. public class PCM {
  3.  
  4.         public static final String MODID = "pcm";
  5.         public static final String VERSION = "0.0.01alpha";
  6.         public static PCM instance;
  7.  
  8.         @EventHandler
  9.         public void preInit(FMLPreInitializationEvent event) {
  10.                 if(event.getSide() == Side.CLIENT) clientPreInit(event);
  11.                 if(event.getSide() == Side.SERVER) serverPreInit(event);
  12.         }
  13.        
  14.         @SideOnly(Side.CLIENT)
  15.         private void clientPreInit(FMLPreInitializationEvent event){
  16.                 Blocks.init();
  17.         }
  18.        
  19.         @SideOnly(Side.SERVER)
  20.         private void serverPreInit(FMLPreInitializationEvent event){
  21.                
  22.         }
  23.        
  24.         @EventHandler
  25.         public void init(FMLInitializationEvent event) {
  26.                 if(event.getSide() == Side.CLIENT) clientInit(event);
  27.                 if(event.getSide() == Side.SERVER) serverInit(event);          
  28.         }      
  29.        
  30.         @SideOnly(Side.CLIENT)
  31.         private void clientInit(FMLInitializationEvent event){
  32.                 Blocks.registerBlockRenderers(event);
  33.         }
  34.        
  35.         @SideOnly(Side.SERVER)
  36.         private void serverInit(FMLInitializationEvent event){
  37.                
  38.         }
  39.        
  40.         @EventHandler
  41.         public void postInit(FMLPostInitializationEvent event) {
  42.                
  43.         }
  44.        
  45.         @SideOnly(Side.CLIENT)
  46.         private void clientPostInit(FMLPostInitializationEvent event) {
  47.                
  48.         }
  49.        
  50.         @SideOnly(Side.SERVER)
  51.         private void serverPostInit(FMLPostInitializationEvent event) {
  52.                
  53.         }
  54.        
  55.  
  56.  
  57. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top