    001/*
    002 * Forge Mod Loader
    003 * Copyright (c) 2012-2013 cpw.
    004 * All rights reserved. This program and the accompanying materials
    005 * are made available under the terms of the GNU Lesser Public License v2.1
    006 * which accompanies this distribution, and is available at
    007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    008 *
    009 * Contributors:
    010 *     cpw - implementation
    011 */
    012
    013package cpw.mods.fml.common.event;
    014
    015import cpw.mods.fml.common.LoaderState.ModState;
    016import cpw.mods.fml.common.ModClassLoader;
    017import cpw.mods.fml.common.discovery.ASMDataTable;
    018
    019public class FMLConstructionEvent extends FMLStateEvent
    020{
    021    private ModClassLoader modClassLoader;
    022    private ASMDataTable asmData;
    023
    024    public FMLConstructionEvent(Object... eventData)
    025    {
    026        this.modClassLoader = (ModClassLoader)eventData[0];
    027        this.asmData = (ASMDataTable) eventData[1];
    028    }
    029
    030    public ModClassLoader getModClassLoader()
    031    {
    032        return modClassLoader;
    033    }
    034
    035    @Override
    036    public ModState getModState()
    037    {
    038        return ModState.CONSTRUCTED;
    039    }
    040
    041    public ASMDataTable getASMHarvestedData()
    042    {
    043        return asmData;
    044    }
    045}