[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationA template that automatically generates a table for sounds.
Java Edition table:
| Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
|---|---|---|---|---|---|---|---|---|
| ? | ? | ? | ? | ? | ? | ? | ? | ? |
Bedrock Edition table:
| Sound | Source | Description | Resource location | Volume | Pitch |
|---|---|---|---|---|---|
| ? | ? | ? | ? | ? | ? |
Minecraft Dungeons table:
| Sound | Description |
|---|---|
| ? | ? |
Arguments
| Parameter | Function |
|---|---|
type |
bedrock or dungeons. Inserting a table for Bedrock or Dungeons, see above for corresponding output ("load on low memory" = "preload"), if defined has to 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. |
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:
"Sound" is exclusive to Bedrock Edition. |
description |
When the sound plays. Defaults to the subtitle, if it is provided. |
id |
The sound event/namespaced ID (code formatting automatically added). |
translationkey |
The subtitle key/translation key (code formatting automatically added), set to "-" if none in this event. |
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. |