▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Indicative Pitch
Indicative Pitch

Indicative Pitch

Increases the pitch of the block breaking sound as the block is closer to being broken.

Оцените первым
2.5K
19
Все версииIndicative Pitch 1.1.0

Indicative Pitch 1.1.0

Release14.04.2025

Список изменений

Edit: WARNING! THIS WILL CRASH ON 1.21.2+! Use version 1.1.1 instead for those versions.

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;
    }

}

Файлы

indicativepitch-1.1.0.jar(13.97 KiB)
Основной
Скачать
indicativepitch-1.1.0-sources.jar(10.87 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1.0

Загрузчики

Fabric

Версии игры

1.20.1–1.20.6

Загрузок

841

Дата публикации

14.04.2025

Загрузил

ID версии

Главная