If you build a mod for personal use, it’s ok to use anything you want. In order to sell the mod with licensed material, you legally need permission from the license holder. Will a big corporation come after a mod-maker? Probably not, but they could legally shut down someone making unlicensed mods. Best to not sell anything that would require permission from a license