← 返回译文库

MINECRAFT RESOURCE TRANSLATIONS

Melody

基于 OpenAL 的库模组,用于播放背景音乐。

API and Library
访问原项目 ↗部分译文尚未就绪,显示可用译文及原文

项目介绍


IMPORTANT

This mod is a LIBRARY mod.
It will do nothing on its own and its only purpose is to act as a dependency for other mods that use its features.

About

Melody is an OpenAL-based client-side library mod for playing background music.
It allows you to use OpenAL in Minecraft separated from Minecraft's sound engine and manager.

Melody allows you to (asynchronously) load audio files from all kinds of sources, including web sources.

It has built-in support for OGG and WAV audio files, but there's nothing stopping you from extending it to support more file types!

Since Melody was made for easily playing music in menus or in-world, it can't play directional sounds (sounds with a fixed origin in a 3D environment). It can only play 2D audio, so basically music.

To get an idea of how to create ready-to-play audio sources, take a look at Melody's SimpleAudioFactory class!

Everything important is documented in the source, so make sure to take a look at Melody's source on GitHub!

Copyright & Licensing

Melody Copyright © 2023-2025 Keksuccino.
Melody is licensed under MIT.

Server Needed?

Looking to play Minecraft with friends but setting up a server is just too time-consuming?
No worries! Simply rent a pre-configured server and start playing in a snap.

Just click the image below and use code keksuccino to enjoy a 25% discount on your first month! You can also click the code itself if your ad blocker hides the banner.


对照原文


IMPORTANT

This mod is a LIBRARY mod.
It will do nothing on its own and its only purpose is to act as a dependency for other mods that use its features.

About

Melody is an OpenAL-based client-side library mod for playing background music.
It allows you to use OpenAL in Minecraft separated from Minecraft's sound engine and manager.

Melody allows you to (asynchronously) load audio files from all kinds of sources, including web sources.

It has built-in support for OGG and WAV audio files, but there's nothing stopping you from extending it to support more file types!

Since Melody was made for easily playing music in menus or in-world, it can't play directional sounds (sounds with a fixed origin in a 3D environment). It can only play 2D audio, so basically music.

To get an idea of how to create ready-to-play audio sources, take a look at Melody's SimpleAudioFactory class!

Everything important is documented in the source, so make sure to take a look at Melody's source on GitHub!

Copyright & Licensing

Melody Copyright © 2023-2025 Keksuccino.
Melody is licensed under MIT.

Server Needed?

Looking to play Minecraft with friends but setting up a server is just too time-consuming?
No worries! Simply rent a pre-configured server and start playing in a snap.

Just click the image below and use code keksuccino to enjoy a 25% discount on your first month! You can also click the code itself if your ad blocker hides the banner.


版本与依赖
版本Minecraft加载器依赖
[NeoForge] v1.0.17 MC 26.326.3neoforge此版本未声明额外依赖
[Fabric] v1.0.17 MC 26.326.3fabricFabric API
[NeoForge] v1.0.17 MC 26.226.2neoforge此版本未声明额外依赖
[Fabric] v1.0.17 MC 26.226.2fabricFabric API
[NeoForge] v1.0.16 MC 26.1.126.1.1 / 26.1.2neoforge此版本未声明额外依赖
[Fabric] v1.0.16 MC 26.1.126.1.1 / 26.1.2fabricFabric API
[NeoForge] v1.0.15 MC 1.21.111.21.11neoforge此版本未声明额外依赖
[Fabric] v1.0.15 MC 1.21.111.21.11fabricFabric API
[NeoForge] v1.0.14 MC 1.21.101.21.10neoforge此版本未声明额外依赖
[Fabric] v1.0.14 MC 1.21.101.21.10fabricFabric API
[NeoForge] v1.0.13 MC 1.21.101.21.10neoforge此版本未声明额外依赖
[Fabric] v1.0.13 MC 1.21.101.21.10fabricFabric API