File Details
indicativepitch-1.1.0.jar
- R
- Apr 14, 2025
- 13.97 KB
- 158
- 1.21.1+19
- Fabric
File Name
indicativepitch-1.1.0.jar
Supported Versions
- 1.21-Snapshot
- 1.20-Snapshot
- 1.21.1-Snapshot
- 1.21.1
- 1.21
- 1.20.2-Snapshot
- 1.20.5-Snapshot
- 1.20.3-Snapshot
- 1.20.6
- 1.20.5
- 1.20.4
- 1.20.3
- 1.20.2
- 1.20.1
- 1.20
- 1.19.4-Snapshot
- 1.19.3-Snapshot
- 1.19.4
- 1.19.3
- 1.19.2
Curse Maven Snippet
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;
}
}

