Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Sounds.json

From SAS Gaming Wiki
Revision as of 16:05, 9 April 2026 by SyncBot (talk | contribs) (Remove broken links to missing pages)

Template:Lowercase sounds.json (sound_definitions.json Template:In) is a file used by the sound system in resource packs which tells the sound system what sound files to play when a sound event is triggered by one or more in-game events. This file is located in Template:Cd in resource packs, and the default file is located in Template:Cd (Template:Cd Template:In), and its hashed name can be found by looking it up in the file Template:Cd.

Since file Template:Cd is obfuscated, one can find in Tutorial:Sound directory some methods to extract the sound.json and the sound directory, where all sounds and music are stored.

File structure

Java Edition

This file is stored in JSON format, but is represented here using NBT.

  • Template:Nbt The root Object.
    • Template:Nbt: A sound event. The name is usually separated in categories (such as Template:Cd). All default sound events are listed in the table below. (To get a different namespace than Template:Cd the file must be under a different namespace; not defining it here.)
      • Template:Nbt: true/false. Used only in resource packs. True if the sounds listed in sounds should replace the sounds listed in the default sounds.json for this sound event. False if the sounds listed should be added to the list of default sounds. Optional. If undefined, defaults to "false".
      • Template:Nbt: Translation key for the subtitle of the sound. Accepts formatting codes and displays them properly in-game. Optional. If not specified, the sound event is not displayed in closed captions.
      • Template:Nbt: The sound files this sound event uses. One of the listed sounds is randomly selected to play when this sound event is triggered. Optional.
        • Template:Nbt The path to a sound file from the "namespace/sounds" folder (excluding the .ogg file extension). Uses forward slashes. The namespace defaults to Template:Cd but it can be changed by prepending a namespace and separating it with a Template:Cd.
        • Template:Nbt A sound file. This Object is used only when the sound requires additional Strings.
          • Template:Nbt: The path to this sound file from the "namespace/sounds" folder (excluding the .ogg file extension). The namespace defaults to Template:Cd but it can be changed by prepending a namespace and separating it with a Template:Cd. Uses forward slashes instead of backslashes. May instead be the name of another sound event (according to value of "type"). If the sound file has one channel (mono), it can be played locationally (sound volume decreases the farther you are from the source). If the file has two channels (stereo), the volume does not change (for example music, ambient sounds). Names are also not allowed to contain whitespace characters.<ref name="ignore">Failure to follow this guideline in at least one entry will result in the entire sounds.json being ignored, in favor of vanilla sounds.</ref>
          • Template:Nbt: The volume for playing this sound. Value is a decimal greater than 0.0.<ref name="ignore"/> If undefined, defaults to 1.0.
          • Template:Nbt: Plays the pitch at the specified value. Value is a decimal greater than 0.0.<ref name="ignore"/> If undefined, defaults to 1.0, but higher and lower values can be chosen.
          • Template:Nbt: The chance that this sound is selected to play when this sound event is triggered. Defaults to 1. An example: putting 2 in for the value would be like placing in the name twice. Only accepts integers. Exceeding the 32-bit integer limit will cause the file to fail. Cannot be 0.
          • Template:Nbt: true/false. True if this sound should be streamed from its file. It is recommended that this is set to "true" for sounds that have a duration longer than a few seconds to avoid lag. Used for all sounds in the "music" and "record" categories (except Note Block sounds), as (almost) all the sounds that belong to those categories are over a minute long. Optional. If undefined, defaults to "false". Setting this to false allows many more instances of the sound to be ran at the same time while setting it to true only allows 4 instances (of that type) to be ran at the same time.
          • Template:Nbt: Modify sound reduction rate based on distance. Used by portals, pistons, beacons, and conduits. Defaults to 16. Exceeding the 32-bit integer limit will cause the file to fail. Cannot be 0.
          • Template:Nbt: true/false. True if this sound should be loaded when loading the pack instead of when the sound is played. Used by the underwater ambience. Defaults to "false".
          • Template:Nbt: Two values are available: "file" and "event"; "file" causes the value of "name" to be interpreted as the name of a file, while "event" causes the value of "name" to be interpreted as the name of an already defined event. If undefined, defaults to "file".

An example of a pre-1.10 sounds.json can be found here.
Dinnerbone's pre-1.10 specifications can be found here.

Bedrock Edition

Template:Info needed section Template:Verify

1.14.0
  • Template:Nbt: The root Object.
    • Template:Nbt: Always set to Template:Cd or Template:Cd.
    • Template:Nbt
      • Template:Nbt: A sound event. The name is usually separated in categories (such as Template:Cd or Template:Cd). All default sound events are listed in the table below.
        • Template:Nbt: What volume slider affects this sound event. Can be Template:Cd. Defaults to "sound".
        • Template:NbtTemplate:Nbt: The distance at which the sound's volume starts to attenuate (fade off)
        • Template:NbtTemplate:Nbt: The distance at which the sound can no longer be heard.
        • Template:Nbt: The sounds used by this sound event.
          • Template:Nbt: The path to this sound file from the resource pack folder (excluding the file extension).
          • Template:Nbt
            • Template:Nbt: The path to this sound file from the resource pack folder (excluding the file extension).
            • Template:Nbt: true/false. True if this sound should be streamed from its file. It is recommended that this is set to "true" for sounds that have a duration longer than a few seconds to avoid lag. Used for all sounds in the "music" and "record" categories (except Note Block sounds), as (almost) all the sounds that belong to those categories are over a minute long. Optional. If undefined, defaults to "false".
            • Template:Nbt: A boolean value, true or false, of unknown use.
            • Template:Nbt: The volume for playing this sound. If undefined, defaults to 1.0.
            • Template:Nbt: The pitch for playing this sound. If undefined, defaults to 1.0.
            • Template:Nbt: The chance that this sound is selected to play when this sound event is triggered. Defaults to 1. An example: putting 2 in for the value would be like placing in the name twice. Only accepts integers.
            • Template:Nbt: Deprecated.
        • Template:Nbt: Used to add translation keys or direct names to in-game subtitles, if omitted, the sound will never play in the game and will use generic subtitles.
Old

Sound events

A sound event is linked to one or more in-game events. Two sound events may share the same sound file, but correspond to different in-game events and/or belong to different sound categories. A few valid sound events aren't included in sounds.json, while others don't have an in-game event associated with them. Any sound event that lacks an in-game event can be played only with Template:Cmd or by using a note block below a player head with the Template:Code block entity tag set. All default sound events, the sounds they use, the category they belong to, the subtitle that plays at that event, and the in-game events they are triggered by are listed in the following table.

Template:LoadPage

Template:LoadPage

Unused sound events


Template:CleanupAn unused sound event is any sound embedded into Minecraft that does not have a trigger without plugins or mods. They do not have a defined frequency of amplification, or anything else a generic, used sound would use. Also, they do not have subtitles until they are used from a trigger in the vanilla game.<ref>Template:Bug</ref> These do not usually have a corresponding translation key.


List

Below is a list of features along with audio sources for their unused sound events.

Fox

Template:Edition: Template:SoundTable

Ghast

Template:Edition: Template:SoundTable

Template:Edition: Template:SoundTable

Player

Template:Edition: Template:SoundTable

Bat

Template:Edition: Template:SoundTable

Silverfish

Template:Edition: Template:SoundTable

Endermite

Template:Edition: Template:SoundTable

Minecraft:Zombie

Template:Edition: Template:SoundTable

<references group="sound"/>

Block sound categories

Template:Main A block sound type is a set of sounds that blocks use when they are broken, placed, hit, fallen on, stepped on, jumped from,Template:Only or landed on.Template:Only

History

Template:See also

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

References

Template:Reflist

Navigation

Template:Navbox resource packs Template:Navbox Java Edition technical Template:Navbox Bedrock Edition

de:Sounddaten ja:Sounds.json pt:Sounds.json ru:Sounds.json uk:Sounds.json zh:Sounds.json