    001    package cpw.mods.fml.common.event;
    002
    003    import cpw.mods.fml.common.LoaderState.ModState;
    004    import cpw.mods.fml.common.ModClassLoader;
    005    import cpw.mods.fml.common.discovery.ASMDataTable;
    006
    007    public class FMLConstructionEvent extends FMLStateEvent
    008    {
    009        private ModClassLoader modClassLoader;
    010        private ASMDataTable asmData;
    011
    012        public FMLConstructionEvent(Object... eventData)
    013        {
    014            this.modClassLoader = (ModClassLoader)eventData[0];
    015            this.asmData = (ASMDataTable) eventData[1];
    016        }
    017
    018        public ModClassLoader getModClassLoader()
    019        {
    020            return modClassLoader;
    021        }
    022
    023        @Override
    024        public ModState getModState()
    025        {
    026            return ModState.CONSTRUCTED;
    027        }
    028
    029        public ASMDataTable getASMHarvestedData()
    030        {
    031            return asmData;
    032        }
    033    }