In a modpack
Go for it. Just credit the mod and link back to its page.
Projects & experiments
Minecraft mods published on Modrinth and CurseForge, and development work on a team project. Download counts on this page update live from Modrinth.
Minecraft
Released and maintained. Bugs and ideas go to the mods Discord.
Team work
Projects other people run, where I'm part of the development team. Their downloads aren't counted as mine.
Lab
Smaller utilities and experiments that aren't full products.
Notes
Go for it. Just credit the mod and link back to its page.
Post in the mods Discord with your Minecraft version, loader, mod list and crash log. For JCraft issues, the JCraft server is the right place.
There's a wiki for the mods. It's still being written, so ask on the mods Discord if something's missing.