跳到正文

Background Music Commands/OpenAL commands

作者:berriz44

A Minecraft mod that lets players play audio by hooking directly into OpenAL as opposed to using SoundEvents.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Background Music Mod

Background Music Mod is a client mod that allows players to play audio files directly using chat commands and a file name instead of using Minecraft’s (rather restrictive and difficult to use) Sound Events system.

Usage

To play an audio file:

Run /bgm play <file_path>. The chat will return a number that corresponds to the ID of the source. It can also be looped using /bgm play <file_path> true.

To stop an audio file:

Run /bgm stop_id <id>.

To see currently playing audio files:

Run /bgm list.

To stop all audio files:

Run /bgm stop_all.

Debug commands:

To see the running user:

Run /bgm debug whoami.

To see the working directory:

Run /bgm debug pwd.

Source

The sources can be found on GitHub under a GNU GPLv3 license.

常见问题

Background Music Commands/OpenAL commands 支持哪些 Minecraft 版本?

Background Music Commands/OpenAL commands 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Background Music Commands/OpenAL commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

berriz44 的其他作品

查看全部 →