
Indicative Pitch
Increases the pitch of the block breaking sound as the block is closer to being broken.
2.1K
18
Список изменений
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;
}
}
Метаданные
Канал релиза
Release
Номер версии
1.1.1
Загрузчики
Fabric
Версии игры
1.21.2–1.21.5
Загрузок
767
Дата публикации
1 г. назад
