Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Indicative Pitch

Indicative Pitch

Increases the pitch of the block breaking sound as the block is closer to being broken.

893
16
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1–1.20.6

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Creators

startraveler
startraveler Member

Details

Licensed CC-BY-4.0
Published 3 months ago
Updated 3 months ago
DescriptionChangelogVersions

Overview

This is a tiny quality of life mod that makes the block breaking sound increase in pitch as the block is closer to being broken. It should work on any version from 1.20.1 to 1.21.5. Please let me know in the comments if you have any problems with it!

Credits

Credit to @⚔SandWhoop⚔ on Discord for the mod idea.

Modpacks

Feel free to add this to modpacks!

Porting

I can port this to NeoForge, Forge, or other versions as desired. Unfortunately, Modrinth doesn't have a comments feature, but you could leave a note in the comments on CurseForge! The mod should have the same name there, so it ought to be easy to find.

That being said, here is the entirety of the functional code of this mod:

@Mixin(MultiPlayerGameMode.class)
public abstract class MultiPlayerGameModeMixin {

    @Accessor("destroyProgress")
    public abstract float getDestroyProgress();

    @ModifyExpressionValue(at = @At(value = "INVOKE", target = "Lnet/minecraft/world/level/block/SoundType;getPitch()F"), method = "continueDestroyBlock")
    private float modifyPitch(float original) {
        float returnValue = (this.getDestroyProgress() * 2.5f * original);
        // System.out.println("Returning " + returnValue);
        return returnValue;
    }
}

If I ever stop maintaining this, I'd appreciate it if someone could pick this project up and carry it forward! It's a nice QOL/accessibility feature.

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.