Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
无编辑摘要
无编辑摘要
第1行: 第1行:
 
{{documentation header}}
 
{{documentation header}}
{{lua}}
 
 
<!-- Documentation here -->
 
<!-- Documentation here -->
   
自动生成音效表格的模板。A template that automatically generates a table for sounds.<br>
+
自动生成音效表格的模板。<br>
 
{{edition|java}}的表格:
 
{{edition|java}}的表格:
 
{{Sound table|nocat=1|foot=1}}
 
{{Sound table|nocat=1|foot=1}}
第63行: 第62行:
 
[[Category:表格模板]]
 
[[Category:表格模板]]
   
[[en:Sound table]]
+
[[en:Template:Sound table]]
 
[[es:Plantilla:Sound table]]
 
[[es:Plantilla:Sound table]]
 
[[ja:テンプレート:Sound table]]
 
[[ja:テンプレート:Sound table]]
第72行: 第71行:
 
<noinclude>
 
<noinclude>
 
<!-- Documentation categories/interwiki here -->
 
<!-- Documentation categories/interwiki here -->
[[en:Sound table/doc]]
+
[[en:Template:Sound table/doc]]
 
[[es:Plantilla:Sound table/doc]]
 
[[es:Plantilla:Sound table/doc]]
 
[[ja:テンプレート:Sound table/doc]]
 
[[ja:テンプレート:Sound table/doc]]

2020年11月26日 (四) 09:26的版本

这是文档页面,它应该被放置到Template:Sound table。查看Template:Documentation以获取更多信息。

自动生成音效表格的模板。
Java版的表格:

字幕字幕分类描述命名空间ID音高
??? ? ??

基岩版的表格:

字幕分类描述命名空间ID系统音效类型音高音量衰减距离预载
?? ? ??2.0 1.0 16

Minecraft Dungeons的表格:

字幕描述文件
?? ?

参数

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.

预定义模板