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.

902
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

Show all versions

Indicative Pitch 1.1.1

by startraveler on Apr 15, 2025
Download

Fixed a crash in the versions this file applies to. I assumed a file hadn't been changed... it had. This mixin replaces the one to LevelRenderer.

@Mixin(LevelEventHandler.class)
public class LevelEventHandlerMixin {

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

}

Indicative Pitch 1.1.0

by startraveler on Apr 14, 2025
Download

Edit: WARNING! THIS WILL CRASH ON 1.21.2+! Use version 1.1.1 instead for those versions.

Added another mixin, as shown below, to change the pitch of the sound when the block actually breaks.

@Mixin(LevelRenderer.class)
public class LevelRendererMixin {

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

}

Indicative Pitch 1.0.0

by startraveler on Apr 12, 2025
Download

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.