Nota Mod (1.19.2) – Play Custom Note Block Music Tracks Anywhere in Your World
Nota Mod brings the NoteBlock API from Spigot over to Fabric so you can play custom .nbs music files as note block sounds in your world. This library mod includes three different song player types: RadioSongPlayer, PositionSongPlayer, and EntitySongPlayer. You can play music globally for everyone, at a specific block location, or attach the audio to a moving mob or player within a set hearing distance. It works on the server side only or in singleplayer worlds.
![]()
Features:
- NoteBlock API Port: Brings the Spigot NoteBlock API to Fabric, letting mods load and play .nbs files using in-game note block sounds.
- Playlist System: Lets you load multiple .nbs song files with
NBSDecoder.parseand group them together into a singlePlaylist. - Works purely on the server side or inside singleplayer worlds.
- Supports custom .nbs files downloaded online, converted from .midi files, or created from scratch using Note Block Studio.
SongPlayer Types:
- RadioSongPlayer: Plays a loaded song for all added players no matter where they are in the world.
- PositionSongPlayer: Plays a song at a set block coordinate (
BlockPos) for added players within a specific block range (default distance is 16 blocks). - EntitySongPlayer: Attaches the music to a specific mob or player and plays it for added players within a set hearing range (default distance is 16 blocks).
Configuration:
Add the Modrinth repository and dependency to your build.gradle file to use this library in a project (replace VERSION_TAG with the version, such as 0.1.0+1.19):
repositories {
maven {
url "https://api.modrinth.com/maven"
content { includeGroup "maven.modrinth" }
}
}
dependencies {
modImplementation include("maven.modrinth:nota:VERSION_TAG")
}
How to Use:
- Get a
.nbsmusic file by downloading existing tracks, converting a.midifile in Note Block Studio, or composing a new song in Note Block Studio and exporting it as.nbs. - Load your song files and build a playlist in Java before playing them:
Song song = NBSDecoder.parse(new File("path/to/song.nbs")); Song song2 = NBSDecoder.parse(new File("path/to/another/song.nbs")); Playlist playlist = new Playlist(song, song2,...); - Use
RadioSongPlayerto play a song for added players anywhere in the world:Song song; // Preloaded song RadioSongPlayer rsp = new RadioSongPlayer(song); rsp.setId(new Identifier("example:radio")); rsp.addPlayer(player); rsp.setPlaying(true); - Use
PositionSongPlayerto play a song from a specific block coordinate within a set distance (default is 16):Song song; // Preloaded song PositionSongPlayer psp = new PositionSongPlayer(song); psp.setId(new Identifier("example:position")); psp.setBlockPos(pos); psp.setDistance(16); psp.addPlayer(player); psp.setPlaying(true); - Use
EntitySongPlayerto play a song following a specific mob or entity within a set distance (default is 16):Song song; // Preloaded song EntitySongPlayer esp = new EntitySongPlayer(song); esp.setId(new Identifier("example:entity")); esp.setEntity(entity); esp.setDistance(16); esp.addPlayer(player); esp.setPlaying(true);
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Nota Mod Download Links
0



















This post has no comments yet. Be the first — your comment will appear here.