Hi there, the i3-4130 vs the AMD FX-6300 is basically comparing AMD's Middle Class to Intel's Workstation Class. In this instance it is pathetic on AMD's side.
But for gaming, it is more efficient to get an AMD FX-6300 as that has the full 6 cores which can help for more next-generation games coming out where they do use more than 2 cores in the games.
Even though the i3 has Hyperthreads.
Hyperthreads are adding an extra logical core for every physical, where AMD adds more Physical.
If you're planning on doing some gaming and a lot of editing, I suggest getting the AMD FX-6300 over the i3. But if you're more of a workstation need it for dedicated workstation needs. I'd suggest the i3.
Hope this helps.