Minecraft Wiki

EN SAVOIR PLUS

Minecraft Wiki
Advertisement
Minecraft Wiki
[voir | modifier | historique | purger]Documentation
Lua logo.svg
Ce modèle utilise Module:Tableau de son, un programme écrit en Lua.
Voir wp:Lua et mw:Extension:Scribunto pour plus d'informations.

Cette page est à traduire en Français.

Un modèle qui génère automatiquement les tables de son.
Tableau pour la version Java :

SonSous-titreSourceEspace de nom d'IDClef de traductionVolumePitchDistance
d'atténuation
????????

Tableau pour la version Bedrock :

SonSourceEspace de nom d'IDVolumePitch
?????

Tableau pour Minecraft Dungeons :

Son
?

Paramètres

Parameter Function
bedrock Inserting a table for Bedrock, which is just no subtitle, source and attenuation distance, and renames preload to load on low memory, if defined has to be defined in the first call.
dungeons Inserting a table for Dungeons, which is only sounds, description and ID (header renamed to File), if defined has to be defined in the first call.
nocat Stops table from inserting categories, if defined has to be defined in the first call.
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).
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.
soundvolume The volume per-sound as defined in sounds.json or sound_definitions.json.
soundpitch The pitch per-sound as defined in sounds.json or sound_definitions.json.
sounddistance The attenuation distance per-sound as defined in sounds.json or sound_definitions.json.
soundstream The stream value per-sound as defined in sounds.json or sound_definitions.json.
soundpreload The preload/load-on-low-memory value per-sound as defined in sounds.json or sound_definitions.json.
foot Inserting the table end, always has to be defined in the last call.

Tables prédéfinies

[voir | modifier | historique | purger]La documentation ci-dessus est insérée depuis Modèle:Tableau de son/doc.
Advertisement