Jump to content

Recommended Posts

Posted

i have an error in the sounds.js file idk know where it is and thats the error:

Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: FirstMod:sounds.json
 

Posted (edited)
5 minutes ago, tnhrasv said:

Non [a-z0-9_.-] character in namespace of location: FirstMod:sounds.json

I would wager the error is more related to your modid having capital letters in it

And also, don't post single lines from a log, especially when you're a novice, the error isn't always where you think it is based on a single line of the log. Post the entire log, use a paste site like github gist or something. :)

Edited by Ugdhar
Posted

You should use github, and host your project on there, it makes it much easier to share your project with others. It's likely none of these files you posted here are relevant. If you dig through your project, you'll find FirstMod somewhere (besides a class name), I don't think the log would just change it to capitals if it were actually lowercase. Double check all your java files, and any jsons you may have created by hand.

 

Also, you still did not share the full log.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.