## Extended Note Block Release 1.3.6
## What's New?
Fix: Prevent sound from cutting out on the final tick of a fadeOut period (In fact, I don't know if it really solves this problem.)
The existing linear fade-out formula incorrectly calculated a volume of 0.0 on the last tick of the fade-out duration (when timeIntoFadeOut == fadeOutTicks), causing the sound to prematurely cut out one tick too early.
To fix this, the denominator in the fade-out progress calculation has been changed from fadeOutTicks to fadeOutTicks + 1. This ensures that the sound volume is attenuated smoothly towards the end but remains above 0.0 (e.g., 50% for a fadeOut=1 scenario) on the last active tick, preserving the full intended sound duration.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }