SHARE
TWEET

Untitled

a guest Apr 2nd, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package lotr.common.coremod;
  2.  
  3. import lotr.common.LOTRModInfo;
  4.  
  5. import com.google.common.eventbus.EventBus;
  6.  
  7. import cpw.mods.fml.common.*;
  8. import cpw.mods.fml.common.event.FMLPreInitializationEvent;
  9.  
  10. public class LOTRCoremodContainer extends DummyModContainer
  11. {
  12.     public static final String coremodID = LOTRModInfo.modID + "_core";
  13.    
  14.     @Mod.Instance(coremodID)
  15.     public static LOTRCoremodContainer instance;
  16.    
  17.     public LOTRCoremodContainer()
  18.     {
  19.         super(new ModMetadata());
  20.         ModMetadata meta = getMetadata();
  21.         meta.modId = coremodID;
  22.         meta.name = LOTRModInfo.modName + ": Coremod";
  23.         meta.version = LOTRModInfo.version;
  24.         meta.credits = "";
  25.         meta.authorList.add("Mevans");
  26.         meta.description = "";
  27.     }
  28.    
  29.     @Override
  30.     public boolean registerBus(EventBus bus, LoadController controller)
  31.     {
  32.         bus.register(this);
  33.         return true;
  34.     }
  35.  
  36.     @Mod.EventHandler
  37.     public void preInit(FMLPreInitializationEvent event)
  38.     {
  39.         instance = this;
  40.     }
  41. }
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