核心功能:
中国用户可以前往:
可与此模组配合使用:
? 直接从资源包读取音频文件
?️ 支持区域音频播放(根据玩家位置动态调整音量)
? 兼容多人游戏(为每个玩家独立计算音频)
? 丰富的命令系统
? 完整的多语言支持(英文 & 中文)
? 音频文件存放位置
将您的 WAV 格式音频文件放入资源包的以下目录中:
assets/summer_xtjl_audio/audio/
文件要求:
仅支持 .wav 格式文件
建议文件名使用英文或数字
支持所有标准 WAV 音频参数
普通音频播放命令
普通音频播放:/playsound_pro play <category> <loop> <filename>
参数说明:
类别(Category):声音类别(控制哪个游戏内音量设置影响音量)
unlimited - 不受游戏内音量设置影响(始终最大音量)
master - 受主音量影响
music - 受音乐音量影响
record - 受唱片机/唱片音量影响
weather - 受天气音量影响
block - 受方块音量影响
hostile - 受敌对生物音量影响
neutral - 受中立生物音量影响
player - 受玩家音量影响
ambient - 受环境音量影响
voice - 受语音音量影响
循环(Loop):true(循环播放)或 false(播放一次)
文件名(Filename):音频文件名(可以省略 .wav 扩展名)
示例:/playsound_pro play master false test
区域音频播放命令
区域音频播放:/playsound_pro play <类别> <循环> <文件名> x=<x> y=<y> z=<z> dx=<dx> dy=<dy> dz=<dz> center cx=<cx> cy=<cy> cz=<cz> cdx=<cdx> cdy=<cdy> cdz=<cdz> mv=<最小音量>
[离声音核心区域越远,音量越小。在由 x y z dx dy dz 定义的范围之外,听不到任何声音。]
分类:声音类别(控制哪个游戏内音量设置影响该声音的音量)
unlimited - 不受游戏内音量设置的影响(始终为最大音量)
master - 受主音量控制
music - 受音乐音量控制
record - 受唱片机/唱片音量控制
weather - 受天气音量控制
block - 受方块音量控制
hostile - 受敌对生物音量控制
neutral - 受中立生物音量影响
player - 受玩家音量影响
ambient - 受环境音量影响
voice - 受语音音量影响
Loop: true(循环播放)或 false(仅播放一次)
Filename:音频文件名(可省略 .wav 扩展名)
x=, y=, z=:区域的起始坐标
dx=, dy=, dz=:区域尺寸(可为负数,但不能为 0)
center cx=, cy=, cz=:声音核心区域的起始坐标 [在声音核心区域内音量始终为 100%]
cdx=, cdy=, cdz=:声音核心区域的尺寸
mv=:最小音量百分比(0-100),默认为 0
区域音频特性:
只有当玩家位于检测区域内时,音频才会播放
音量会根据玩家位置动态变化:
在声音核心区域内:音量为 100%
在检测区域内但核心区域外:音量随距离逐渐减小
在检测区域外:无声音
mv 参数设置最小音量,确保远处的玩家仍能听到微弱的声音 [在检测区域范围内]
区域音频逻辑
Core Features:
中国用户可以前往:
Can be used together with this mod.
? Read audio files directly from resource pack
?️ Support area audio playback (dynamically adjust volume based on player position)
? Multiplayer compatibility (audio calculated independently for each player)
? Rich command system
? Full multi-language support (English & Chinese)
? Audio file location
Place your WAV format audio files into the following directory of the resource pack:
assets/summer_xtjl_audio/audio/
File Requirements:
Only supports .wav format files
File naming is recommended to use English or numbers
Supports all standard WAV audio parameters
Normal Audio Playback Command
Normal audio playback: /playsound_pro play <category> <loop> <filename>
Parameter Description:
Category: Sound category (controls which in-game volume setting affects the volume)
unlimited - Not affected by in-game volume settings (always maximum volume)
master - Affected by master volume
music - Affected by music volume
record - Affected by jukebox/record volume
weather - Affected by weather volume
block - Affected by block volume
hostile - Affected by hostile mob volume
neutral - Affected by neutral mob volume
player - Affected by player volume
ambient - Affected by ambient volume
voice - Affected by voice volume
Loop: true (loop playback) or false (play once)
Filename: Audio filename (the .wav extension can be omitted)
Example: /playsound_pro play master false test
Area Audio Playback Command
Area audio playback: /playsound_pro play <category> <loop> <filename> x=<x> y=<y> z=<z> dx=<dx> dy=<dy> dz=<dz> center cx=<cx> cy=<cy> cz=<cz> cdx=<cdx> cdy=<cdy> cdz=<cdz> mv=<Minimum volume>
[The farther away from the sound core area, the smaller the volume. Outside the range defined by x y z dx dy dz, no sound can be heard.]
Category: Sound category (controls which in-game volume setting affects the volume)
unlimited - Not affected by in-game volume settings (always maximum volume)
master - Affected by master volume
music - Affected by music volume
record - Affected by jukebox/record volume
weather - Affected by weather volume
block - Affected by block volume
hostile - Affected by hostile mob volume
neutral - Affected by neutral mob volume
player - Affected by player volume
ambient - Affected by ambient volume
voice - Affected by voice volume
Loop: true (loop playback) or false (play once)
Filename: Audio filename (the .wav extension can be omitted)
x=, y=, z=: Starting coordinates of the area
dx=, dy=, dz=: Area dimensions (can be negative, but cannot be 0)
center cx=, cy=, cz=: Starting coordinates of the sound core area [volume is always 100% within the sound core area]
cdx=, cdy=, cdz=: Dimensions of the sound core area
mv=: Minimum volume percentage (0-100), default is 0
Area Audio Features:
Audio only plays when the player is within the detection area
Volume changes dynamically based on player position:
Inside the sound core area: 100% volume
Inside the detection area but outside the core area: Volume gradually decreases with distance
Outside the detection area: No sound
The mv parameter sets the minimum volume, ensuring distant players can still hear faint sound [within the detection area range]
Area Audio Logic
评论 0
登录后参与评分
还没有评论,来抢沙发吧