A not really datapack request

So basically, I am following https://www.youtube.com/watch?v=tUg_6R5a1Pk&t=1s this guide to make a custom dimension for a datapack, because I want to add custom dimensions to my mod, but I couldn't find any tutorials for the version I am on(1.21.1). Does anybody know how to integrate a datapack into a mod?

Continue to help post