跳到正文

Music Zones

作者:SteamAutomata

Add zones that play Sound Events, useful for adventure maps, or making your builds nicer!

收藏

介绍

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

Music Zones

An experimental Minecraft NeoForge mod that adds configurable Music Zones:

  • Music Zones can be created and edited by server admins and command blocks
  • Musics are basically sound events, you just need a resource pack to add more music
  • Uses NeoForge’s SelectMusicEvent with a LOW priority.
  • Other mods who change Minecraft music without using SelectMusicEvent might not work as intended
  • You can set a priority to a zone so you can put small zones inside big zones
  • Zones are identified by a unique label

Example commands

Create a music zone playing a custom shop music when a player enters:

/musiczones new ~ ~ ~ ~20 ~20 ~20 custom:music.shop my_shop 1

Also add Stal. When the player enters, either the custom shop music or Stal will play:

/musiczones edit my_shop sound add minecraft:music_disc.stal

Create a big zone with the priority set to 0, so you can have an “overworld” music and a shop music. (When the player is inside two zones with different musics, the one with the higher priority will play instead):

/musiczones new ~-100 ~-100 ~-100 ~100 ~100 ~100 custom:music.overworld my_shop 0

Of course, you’d like to remove a zone you have created earlier:

/musiczones remove my_shop

You can even use command blocks to disable and enable zones if needed:

/musiczones edit my_shop disable
/musiczones edit my_shop enable

Issues?

Create an Issue or a Pull Request on Github. Contributions are very welcome. But please make sure the issue is related to Music Zones.

I won’t support Fabric nor other Minecraft versions, feel free to port.

常见问题

Music Zones 支持哪些 Minecraft 版本?

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

Music Zones 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

SteamAutomata 的其他作品

查看全部 →