MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / onModInit2

Method onModInit2

src/main/java/gregapi/GT_API.java:760–771  ·  view source on GitHub ↗
(FMLInitializationEvent aEvent)

Source from the content-addressed store, hash-verified

758 }
759
760 @Override
761 public void onModInit2(FMLInitializationEvent aEvent) {
762 if (MD.CHSL.mLoaded) try {
763 Carving.chisel.getGroup("cobblestone").setOreName(null);
764 Carving.chisel.getGroup("glowstone").setOreName(null);
765 } catch(Throwable e) {e.printStackTrace(ERR);}
766
767 OUT.println(getModNameForLog() + ": If the Loading Bar somehow Freezes at this Point, then you definetly ran out of Memory or permgenspace, look at the other Logs to confirm it.");
768 OreDictManager.INSTANCE.enableRegistrations();
769
770 for (ICompat tCompat : ICompat.COMPAT_CLASSES) try {tCompat.onLoad(aEvent);} catch(Throwable e) {e.printStackTrace(ERR);}
771 }
772
773 @Override
774 public void onModPostInit2(FMLPostInitializationEvent aEvent) {

Callers

nothing calls this directly

Calls 4

getModNameForLogMethod · 0.95
printlnMethod · 0.80
enableRegistrationsMethod · 0.80
onLoadMethod · 0.65

Tested by

no test coverage detected