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?)
Indicative Pitch

Indicative Pitch

Mod

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

Client Utility

2,280 downloads
18 followers

Indicative Pitch 1.1.0

Changelog

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;
    }

}

Files

indicativepitch-1.1.0.jar(13.97 KiB) Primary Download
indicativepitch-1.1.0-sources.jar(10.87 KiB) Download

Project members

startraveler

Member


Technical information

License
CC-BY-4.0
Client side
required
Server side
unsupported
Project ID