Ok so basically I opened my mod yesterday and (it was working fine the previous day) and my game crashes.
https://pastebin.com/raw/GEbhDj46 <--Crash file
From this I can see that
"net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: .DS_Store:sounds.json" is the problem.
I've searched around my mods folder and even Reinstalled the mdk and imported my src folder over and it still crashes. So from this I know it is my mod and not forge.
[22:01:10.925] [Client thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:yrim for mod file /Users/nathandesouza/Desktop/mood/RandomItems 1.13.219/forge-1.13.2-25.0.219-mdk/bin/main
[22:01:10.930] [Client thread/DEBUG] [ne.mi.fm.pa.ResourcePackLoader/CORE]: Generating PackInfo named mod:forge for mod file /Users/nathandesouza/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.13.2-25.0.219_mapped_snapshot_20180921-1.13/forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13.jar
[22:01:10.934] [Client thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: forge-1.13.2-25.0.219_mapped_snapshot_20180921-1.13.jar, main, Default
[22:01:11.085] [Client thread/WARN] [minecraft/Locale]: Skipped language file: .DS_Store:lang/en_us.json (net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: .DS_Store:lang/en_us.json)
[22:01:12.347] [Client thread/INFO] [STDOUT/]: [net.minecraft.init.Bootstrap:printToSYSOUT:467]: ---- Minecraft Crash Report ----
// There are four lights!
^ This is my console just before the crash report starts.
Any help is appreciated i've been trying for over 4 hours now.
UPDATE:
OK something weird is going on. My mod doesnt crash if I remove the 'assets' folder (src/main/resources/assets/). So i took everything out of my assets folder to try and narrow the cause down AND IT CRASHES. An empty assets folder crashes my game? My game runs fine if I DELETE the assets folder. But as soon as i put it back in it crashes again with the same error? The assets folder is EMPTY, I REPEAT THE ASSETS FOLDER IS EMPTY!!
Any suggestions are welcome!
Thanks! :D