Compatibility
Minecraft: Java Edition
1.21.x
1.20.1–1.20.6
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed CC-BY-4.0
Published last month
Updated last month
Changelog
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;
}
}
Files
Metadata
Release channel
ReleaseVersion number
1.1.1Loaders
Game versions
1.21.2–1.21.5Downloads
269Publication date
April 15, 2025 at 5:04 AMPublisher

startraveler
Member