File Details
indicativepitch-1.1.1.jar
- R
- Apr 15, 2025
- 13.99 KB
- 25
- 1.21.5+6
- Fabric
File Name
indicativepitch-1.1.1.jar
Supported Versions
- 1.21.6-snapshot
- 1.21.5-Snapshot
- 1.21.4-Snapshot
- 1.21.5
- 1.21.4
- 1.21.3
- 1.21.2
Curse Maven Snippet
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;
}
}

