- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
模板:Sound table/doc
来自Minecraft基岩版开发Wiki
自动生成音效表格的模板。
音效 | 分类 | 描述 | ID | 系统音效类型 | 音量 | 音高 | 衰减距离 | 流 | 预载 |
---|---|---|---|---|---|---|---|---|---|
? | ? | ? | ? | ? | 1.0 | 1.0 | 16 | 否 | 否 |
参数[编辑]
Parameter | Function |
---|---|
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. |
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). |
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. |
预定义模板[编辑]