Jump to content

[1.10.2]Need to find where sounds.json is for 1.10.2, they seem to be invisible in the source codes


Recommended Posts

Posted

sounds.json isn't included in the IDE project, so your IDE won't be able to navigate to it.

 

The vanilla assets not included in the forgeSrc library are downloaded to the Gradle cache, ~/.gradle/caches/minecraft/assets. The indexes directory contains a JSON file for each version that lists the hash of each file. The objects directory contains the actual files, with the hash as the file name. Each file is contained in a directory named with the first two characters of the hash.

 

I wrote this Lua script to extract the files from this repository format into regular directories.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
7 minutes ago, diesieben07 said:

I strongly remember being able to navigate to it before. Maybe I remember wrong.

 

As far as I can tell, this system has been used since 1.7.10.

 

 

7 minutes ago, diesieben07 said:

Also.. Lua? Seriously? :D

 

I learned Lua as my first programming language to create World of Warcraft AddOns, I still use it for general-purpose scripting since I'm more familiar with it than other scripting languages.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted (edited)

Those hash-named files are tedious to work through. I found a jar file that I can open using 7-zip. In my system, the jar is in C:\Documents and Settings\<username>\.gradle\caches\minecraft\net\minecraft\minecraft...

 

Edit:

But I don't see sound files in there. My work has been with textures, models etc.

Never mind

Edited by jeffryfisher
Correction

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.