My PC can handle Minecraft, but suddenly the game lags intensely
So, all of a sudden when I play Minecraft (I've only tested this on singleplayer) I start smoothly and then I start lagging like crazy. This PC is only like a month and a half old and it has just started doing this. I'm pretty sure it is because of the AMD driver update software that I installed, and then failed. Is there any way I can revert these changes and go back to how it was before without losing data? My graphics card is a Radeon RX 5500 XT.
EDIT: I just figured it out, it is my Minecraft badlion 1.15.2 installation that was messed up. Other games like Fortnite and other Minecraft installations work perfectly.