    001    package cpw.mods.fml.common.event;
    002
    003    import cpw.mods.fml.common.FMLCommonHandler;
    004    import cpw.mods.fml.common.LoaderState.ModState;
    005    import cpw.mods.fml.common.ModContainer;
    006    import cpw.mods.fml.common.Side;
    007
    008    public abstract class FMLStateEvent extends FMLEvent
    009    {
    010        public FMLStateEvent(Object... data)
    011        {
    012
    013        }
    014
    015        public abstract ModState getModState();
    016
    017        public void applyModContainer(ModContainer activeContainer)
    018        {
    019            // NO OP
    020        }
    021
    022        public Side getSide()
    023        {
    024            return FMLCommonHandler.instance().getSide();
    025        }
    026    }