drag everything in the Minecraft folder to your .Minecraft or if you're using modrinth open resourcepacks in game go into the top bar and it should be your modrinth instance name and make sure your game is closed and then delete everything and replace it with the stuff in the Minecraft folder