Back to mods
MusicLayer project artwork

CurseForge · Minecraft mod

MusicLayer

A mod that adds an easy layer of music that can be manipulated/chosen by multiple mods.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MusicLayer release should I use?

Updated 2 years ago
Latest stable file [1.12.2] Music Layer - 12.2.22
Game version 1.12.2
Loader Forge

MusicLayer [1.12.2] Music Layer - 12.2.22 targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is MusicLayer required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does MusicLayer [1.12.2] Music Layer - 12.2.22 need?

[1.12.2] Music Layer - 12.2.22. Change the file and its required mods may change too.

All 2 required mods have matching files

Install HammerLib, HammerLib first. We found matching files for this game-version and loader setup.

HammerLib Needed by MusicLayer [1.12.2] Music Layer - 12.2.22
required
Matching file found Matched file: [1.12.2] HammerLib - 12.2.66
HammerLib Needed by MusicLayer [1.12.2] Music Layer - 12.2.22
required
Matching file found Matched file: 12.2.66

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add MusicLayer without breaking your instance.

Built for MusicLayer [1.12.2] Music Layer - 12.2.22. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use [1.12.2] Music Layer - 12.2.22. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install HammerLib, HammerLib first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside [1.12.2] Music Layer - 12.2.22. It opens that exact file at the source.

About this project

What does MusicLayer add?

This mod requires HammerLib.

WARNING: This mod by itself doesn't affect your gameplay, but can play music when other mods are using it. There is no single point in using it unless it's required by another mod.

This mod allows to play music without game freezing and it allows to play music from Ogg files in several default ways:

  • From resource location (ex: We use testmod:music/beach and it plays /assets/testmod/sounds/music/beach.ogg file)
  • From URL (ex: We use any direct URL to .ogg file and it plays it). Note: while playing sounds from URL they get cached in .minecraft/musiclayer/music/ folder with the file name of MD5 of the passed URL. Also note that the first time the music gets downloaded it may play a little bit later as it plays the music directly from the URL, but next time will get from the file system (instantly). (Also launching a thread to check if the MD5 of remote and local files match, used when the file on a host gets changed)
  • Customizable! This means that you can use any Input Stream to play your desired sound!

Note: This mod extracts another library to /asm/MusicLayer/SoundLib.jar! This is normal and required for the MusicLayer to function.

That is all for the mod, nothing to add, thank you for reading this.

Permissions:

  • You can use this mod in your modpack.
  • You are not allowed to repost this mod to other sites without providing a CurseForge/Modrinth download link and my permission ( Zeitheron on Discord)
  • You are not allowed to include this (or any other mods of the DragonForge team) in your own mod. Building add-ons, however, is allowed, but a friendly PM would be good.

Note:

  • The only supported version of Minecraft is the latest one that this mod exists for. DO NOT ASK TO DOWNGRADE!

Want to discuss anything? Need help with APIs?

Join the discord server and follow Zeitheron on Twitter!

If you would like to support my work, you can become a patron via Patreon.

Project description from CurseForge.

Pick your setup

MusicLayer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MusicLayer versions and loaders

14 of 14 releases match

Looking for an older file? The official CurseForge project page is in Resources.