nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
 Client Side Noteblocks

Client Side Noteblocks

Mod

Removes lag when playing noteblocks

Client OptimizationUtility

184.1k downloads
196 followers

Why I made this mod

I was trying to play a noteblock song in skywars, but playing the song with all of the lag that was caused by my ping made it too hard to play. In the past, I would just mute my sounds in-game and play. This mod solves this issue by eliminating the lag by having the client play the sound. This also even helps reduce lag when playing noteblocks in singleplayer!

Installation

To use this mod simply add the mods to your mods folder. You will also need to install the fabric API.

The mod will automatically prevent unwanted sounds – duplicate sounds from the server and block break sounds on noteblocks from playing. Once you install the mod it will immediately work, and nothing needs to be configured!

Support Me!

Buy me some coffee by sponsoring me on GitHub: https://github.com/sponsors/varun7654

You can subscribe to my YouTube channel: https://youtube.com/DaCubeKing

And if you use this mod while making a video it would be greatly appreciated if you link to this mod and/or my youtube channel in the description. :)

FAQ

Can you make this for 1.8?

No, this mod uses block data of noteblocks that are not sent to the client pre-1.13. This data also allows you to use a texture pack to display the current note of noteblock.

What does this mod actually do?

To play a noteblock normally in Minecraft (by clicking on it), the game first has to send a packet to the server that you've clicked the block. The server then has to process that packet and sees that a sound needs to be played. Once the server sees that a sound needs to be played it sends a packet back to the client to tell it to play a sound. Only once the client receives this packet does it actually start playing the sound. The time for this could reach into the hundreds of ms (depending on your ping to the server) and can make it difficult to play a noteblock song as I did in the video. This mod solves the issue by cutting out the server when trying to play a noteblock. With this mod installed the client checks if you've clicked a noteblock and if you have it plays the sound immediately. It also filters out the sounds that the server still sends to the client and the sounds that you get from breaking a block.

Why isn't this mod working on X server?

This mod will not work on some servers that use a protocol hack because this mod requires the proper block data to be sent to the client. (Hypixel does work though)

External resources


Project members

DaCubeKing

Owner

varun7654

Owner (alt)


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID