Compatibility
Minecraft: Java Edition
1.21–1.21.5
1.20.1–1.20.6
Platforms
Supported environments
Creators
Details
Licensed CC-BY-4.0
Published 7 months ago
Updated 7 months ago
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
569Publication date
April 15, 2025 at 5:04 AMPublisher

startraveler
Member


