For the complete documentation index, see llms.txt. This page is also available as Markdown.

play_sound

play_sound

触发效果​

向玩家播放音效。

示例配置

- id: play_sound
  args:
    sound: entity_wolf_growl # 播放的音效,音效ID列表见 https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    pitch: 0.7 # 音效参数 (0.5 - 2)
    volume: 10 # 音效参数 

最后更新于