Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

A template that automatically generates a table for sounds.
Java Edition table:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
?????????

Historical table:

SoundSourceDescriptionResource locationVolumePitchAttenuation
distance
???????

Bedrock Edition table:

SoundSourceDescriptionResource locationVolumePitch
??????

Minecraft Dungeons and Minecraft Legends table:

SoundDescription
??

Arguments[]

Parameter Function
type bedrock, dungeons, legends or historical. Inserting a table with a type parameter, see above for corresponding output, if defined has to be defined in the first call (no need to define it on consecutive calls).
forcecollapsed Forces the table to begin collapsed. If defined, it must be defined in the first call (no need to define it on consecutive calls).
nocat Stops table from inserting categories, if defined has to be defined in the first call (no need to define it on consecutive calls).
sound The sound, set to "-" if none in this event.
sound2 - sound20 Additional sounds.
rowspan How many rows the Sound column for this row should take up.
subtitle The subtitle, set to "-" if none in this event.
source The sound category (slider in the sounds menu). Should be one of the following:
  • Master Volume (or master)
  • Music (or music)
  • Jukebox/Note Blocks (or record)
  • Weather (or weather)
  • Hostile Creatures (or hostile)
  • Friendly Creatures (or neutral)
  • Players (or player)
  • Blocks (or block)
  • Ambient/Environment (or ambient)
  • Voice/Speech (or voice)
  • Sound (or sound)
  • Entity-Dependent (or dependent)
  • None (or none or -)

"Sound" is exclusive to Bedrock Edition and historical Java Edition versions. "Entity-Dependent" is for entities that play sounds, such as footsteps, using their own sound sources. "None" is exclusive to unused sound events.

overridesource Set to any value for the source to use what is given to the template, rather than one of the values above.
description When the sound plays.
id The sound event/resource location (code formatting automatically added). Do not add anything other than the id here; that goes in idnote.
idnote Text, such as a reference, to be added after the id, without code formatting.
translationkey The subtitle key/translation key (code formatting automatically added), set to "-" if none in this event. Do not add anything other than the translation key here; that goes in translationkeynote.
translationkeyonte Text, such as a reference, to be added after the translation key, without code formatting.
volume The volume the game plays this sound event at.
pitch The pitch the game plays this sound event at.
distance The attenuation distance the game plays this sound event at.
foot Inserting the table end, always has to be defined in the last call.

Predefined tables[]

A template that automatically generates a table for sounds.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
typetype

java, bedrock, dungeons, legends or historical

Suggested values
java bedrock dungeons legends historical
Default
java
Example
bedrock
Unknownoptional
nocatnocat

Stops table from inserting categories

Suggested values
1
Default
Example
1
Booleanoptional
forcecollapsedforcecollapsed

Foces the table to begin collapsed.

Suggested values
1
Default
Example
1
Booleanoptional
rowspanrowspan

How many rows the Sound column for this row should take up. Only needs to be defined for the first.

Default
1
Example
3
Numberoptional
soundsound

The first sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound2sound2

The second sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound3sound3

The third sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound4sound4

The fourth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound5sound5

The fifth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound6sound6

The sixth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound7sound7

The seventh sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound8sound8

The eighth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound9sound9

The ninth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound10sound10

The tenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound11sound11

The eleventh sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound12sound12

The twelfth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound13sound13

The thirteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound14sound14

The fourteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound15sound15

The fifteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound16sound16

The sixteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound17sound17

The seventeenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound18sound18

The eighteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound19sound19

The nineteenth sound file name

Example
Creeper hurt1.ogg
Filesuggested
sound20sound20

The twentieth sound file name

Example
Creeper hurt1.ogg
Filesuggested
subtitlesubtitle

The subtitle, set to "-" if none in this event.

Default
Example
Creeper dies
Linesuggested
sourcesource

The sound category (slider in the sounds menu).

Suggested values
Master Volume Music Jukebox/Note Blocks Weather Hostile Creatures Friendly Creatures Players Blocks Ambient/Environment Voice/Speech Sound Entity-Dependent None
Default
Example
hostile
Linesuggested
overridesourceoverridesource

Set to any value for the source to use what is given to the template, rather than one of the values above.

Suggested values
1
Default
Example
1
Booleanoptional
descriptiondescription

When the sound plays.

Default
Example
When a creeper dies
Contentsuggested
idid

The sound event/resource location (code formatting automatically added). Do not add anything other than the id here; that goes in idnote.

Default
Example
entity.creeper.death
Linesuggested
idnoteidnote

Text, such as a reference, to be added after the id, without code formatting.

Default
Example
<ref group=sound name=LousyEvents/>
Contentoptional
translationkeytranslationkey

The subtitle key/translation key (code formatting automatically added), set to "-" if none in this event.

Default
Example
subtitles.entity.creeper.death
Linesuggested
translationkeynotetranslationkeynote

Text, such as a reference, to be added after the translation key, without code formatting.

Default
Example
<ref group=sound name=LousyEvents/>
Contentoptional
volumevolume

The volume the game plays this sound event at.

Default
Example
1.0
Linesuggested
pitchpitch

The pitch the game plays this sound event at.

Default
Example
1.0
Linesuggested
distancedistance

The attenuation distance the game plays this sound event at.

Default
Example
16
Linesuggested
footfoot

Inserting the table end, always has to be defined in the last call.

Suggested values
1
Default
Example
1
Booleansuggested
Advertisement