minecraft modding – How to load resources without resource loader?

I want to load resources so I can use Patchouli. I’m making a 1.16 modpack so I cannot use resource loader (which is on 1.7 – 1.12). How can I load resources? Do I have to make a minecraft mod?

Also, would KubeJS work? If so, how?

(resource packs won’t work)