Difference between revisions of "TrainCarts/Signs/Sound/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "== 描述 ==")
(Created page with "可以在 Minecraft Wiki 上找到声音名称的完整列表: [https://minecraft.wiki/w/Sounds.json/Java_Edition_values Sounds.json/Java Edition values] 或 https://www.dig...")
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== 描述 ==
 
== 描述 ==
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
声音牌可以播放声音效果。指定要播放的声音名称,当列车经过时会播放指定的声音。
This sign can play a sound effect, specified by name, when a train enters or power is supplied.
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
== 语法 ==
== Syntax ==
 
</div>
 
  
 
{{sign|[+train]/[+cart]|sound|<soundname>|<soundname>}}
 
{{sign|[+train]/[+cart]|sound|<soundname>|<soundname>}}
Line 22: Line 18:
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 第一行 ===
=== First line ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
使用 [train] 时,声音会为列车中的所有车厢播放。使用 [cart] 时,声音只会为位于声音牌上方的矿车播放。当声音牌激活时且周围没矿车时,声音会在牌子上方(在铁轨上)播放。
When [train] is used, the sound is played in all the minecarts of the train. When [cart] is used, the sound is only played at the minecart that is currently above the sign. When no minecarts are near when the sign is powered, the sound is played above the sign. (at the rails)
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 第二行 ===
=== Second line ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
''sound'',后跟可选的音调和音量。
''sound'', followed up by an optional pitch and volume.
+
默认值为 1.0。音量范围在 0.0 1.0 之间。
Values of 1.0 are the defaults.The range of volume is from 0.0 to 1.0.
+
音符盒中的音调范围在 0.5(2^(-12/12))到 2.0(2^(12/12))之间。
The range of pitch in note_block is from 0.5 (2^(-12/12) ) to 2.0 (2^(12/12) )
+
音调值的完整列表可在 Minecraft Wiki 上找到: [https://minecraft.wiki/w/Note_Block 音符盒]
A full list of pitch value can be found on the Minecraft Wiki: [https://minecraft.wiki/w/Note_Block Note Block]
+
音调可用于任何音效(某些音效会加速)。
Pitch can be applied to any sound effect(some effects will be accelerated)
+
使用 ''msound'' 则会在列车经过控制牌时的每一刻播放一次声音。
Use ''msound'' to play the sound every tick while a train is moving on top of it.
+
使用 ''sound in'' 则仅向列车上的乘客播放声音。
Use ''sound in'' to play the sound only to player passengers of the train.
 
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 第三行和第四行 ===
=== Third and fourth lines ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
需要播放的声音名称。两行连接在一起,以便可以设置更长的声音名称。例如,你可以在第三行输入 'block.beacon.',在第四行输入 'deactivate',来播放 'block.beacon.deactivate' 声音效果。
The name of the sound to play. Both lines are concatenated together, so that longer sound names can be specified. For example, you can put 'block.beacon.' on the third line and 'deactivate' on the fourth line, to play the 'block.beacon.deactivate' sound effect.
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
可以在 Minecraft Wiki 上找到声音名称的完整列表: [https://minecraft.wiki/w/Sounds.json/Java_Edition_values Sounds.json/Java Edition values] https://www.digminecraft.com/lists/sound_list_pc.php
A full list of sound names can be found on the Minecraft Wiki: [https://minecraft.wiki/w/Sounds.json/Java_Edition_values Sounds.json/Java Edition values] or https://www.digminecraft.com/lists/sound_list_pc.php
 
</div>
 

Latest revision as of 15:52, 15 September 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回


描述

声音牌可以播放声音效果。指定要播放的声音名称,当列车经过时会播放指定的声音。

语法

Signtemplate.png
[+train]/[+cart]
sound
<soundname>
<soundname>


Signtemplate.png
[+train]
sound
block.beacon.
power_select


Signtemplate.png
[+train]
sound 0.56 0.5
block.note_block.bell


第一行

使用 [train] 时,声音会为列车中的所有车厢播放。使用 [cart] 时,声音只会为位于声音牌上方的矿车播放。当声音牌激活时且周围没矿车时,声音会在牌子上方(在铁轨上)播放。


第二行

sound,后跟可选的音调和音量。 默认值为 1.0。音量范围在 0.0 到 1.0 之间。 音符盒中的音调范围在 0.5(2^(-12/12))到 2.0(2^(12/12))之间。 音调值的完整列表可在 Minecraft Wiki 上找到: 音符盒 音调可用于任何音效(某些音效会加速)。 使用 msound 则会在列车经过控制牌时的每一刻播放一次声音。 使用 sound in 则仅向列车上的乘客播放声音。


第三行和第四行

需要播放的声音名称。两行连接在一起,以便可以设置更长的声音名称。例如,你可以在第三行输入 'block.beacon.',在第四行输入 'deactivate',来播放 'block.beacon.deactivate' 声音效果。

可以在 Minecraft Wiki 上找到声音名称的完整列表: Sounds.json/Java Edition valueshttps://www.digminecraft.com/lists/sound_list_pc.php