I upgraded my son's PC from a Gigabyte Z170 system with an Intel i7-6700K and GTX 1060 3GB to an ASUS PRIME B450M-K II with a Ryzen 5 5600, 32GB of DDR4-3200 memory, and an RTX 3060 Ti 8GB. Despite the much newer hardware, Fortnite and especially Minecraft perform worse than before. Minecraft frequently freezes for 30 seconds or more. Could the Ryzen 5 5600 be the bottleneck, or is there likely another problem? Would upgrading to a Ryzen 7 or Ryzen 9 noticeably help?
3 Answers
Also verify the memory configuration in the BIOS. Make sure both sticks are detected and running in dual-channel mode, and enable the board's memory profile setting so the DDR4 runs at its rated speed. On AMD systems this may be called DOCP or XMP rather than EXPO. Resizable BAR or Smart Access Memory can be enabled too, but those settings are unlikely to explain 30-second freezes by themselves.
The Ryzen 5 5600 should be at least as fast as, and generally faster than, the i7-6700K for gaming, so replacing it with a Ryzen 7 or 9 probably isn't the first thing to try. A driver or Windows installation issue is more likely, especially if the existing system drive was moved to the new motherboard. Completely remove the old graphics drivers and install the latest RTX 3060 Ti drivers, then update the motherboard chipset drivers and BIOS.
Check for hardware problems before buying a new CPU. Monitor CPU and GPU temperatures and clock speeds with a tool such as HWiNFO, and run a memory test. Unstable or faulty RAM, a corrupted Windows installation, or a failing storage drive could all cause long Minecraft freezes. If possible, a clean Windows installation on the new system would help rule out software left over from the old motherboard.

Related Questions
Lenovo Thinkpad Stuck In Update Loop Install FilterDriverU2_Reload