Download Indicative Pitch — Minecraft Mods — MetaMods

Indicative Pitch

Active

Downloads

0

Last update

6 months ago

Versions

1.20.1 — 1.21.5
Client
Fabric
Utils

Indicative Pitch

A miniature mod designed to enhance gameplay comfort by changing the pitch of the block breaking sound as the block sustains damage. The closer the block is to complete destruction, the higher the sound tone becomes. This audio-visual accompaniment helps players better track the resource gathering process.

Compatibility

The mod successfully operates on Minecraft versions from 1.20.1 to 1.21.5. If you discover any compatibility issues, please be sure to report them.

Acknowledgments

The idea for creating the mod belongs to Discord user @⚔SandWhoop⚔, whose concept formed the basis of this implementation.

Key Features of the Mod

The modification focuses on one simple but effective change to gameplay. The gradual increase in sound pitch during block destruction creates an intuitive audio feedback mechanism, helping to determine how damaged a block is. This feature is particularly useful in situations where precise timing of complete block destruction is necessary.

Technical Implementation

The core functionality is implemented through modification of existing game mechanics:

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

Usage in Modpacks

Developers can freely include this mod in their modpack collections without any restrictions.

Project members
scientistknight1

scientistknight1

startraveler

startraveler

Developer

Created: 16 Apr 2025

ID: 86234