Custom Block Sounds

Resource-pack-driven block sound overrides: break, fall, hit, place, step and ambient (idle) sounds per blockstate, with volume, pitch, chance and condition settings in blockmap.json.

Редакция NLZONE · 2 мин чтения · 1 просмотр
Custom Block Sounds
Скачать Custom Block Sounds1.21 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Resource-pack-driven block sound overrides: break, fall, hit, place, step and ambient (idle) sounds per blockstate, with volume, pitch, chance and condition settings in blockmap.json.

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.21 – 26.3
  • Скачиваний на Modrinth: 1 881

Подробно

Let resource packs redefine block sounds - no coding, no datapacks, just one JSON file.

Custom Block Sounds is a lightweight client-side Fabric mod that lets resource pack authors override the interaction sounds of any block - even of a single blockstate - and add ambient (idle) sounds to blocks that never had them.

- Override break / fall / hit / place / step sounds per block or per blockstate - Add idle (ambient) sounds to any block - with chance, cooldown, day/night, weather, open-sky, air-above and cluster conditions - Use vanilla sounds or custom sounds shipped in the same resource pack - Per-sound volume and pitch control - Other players' and mobs' footsteps, block placement and fall sounds are replaced too - server-sent sounds are matched against the block at their position - Multiple resource packs merge naturally - the pack higher in the list wins - Invalid entries never crash the game - they are skipped with a clear warning in the log

Works on Minecraft 1.21 - 1.21.11 with one jar and on Minecraft 26.2 - 26.3 with a second one (the +26 file). Requires Fabric API. Fully client-side - safe to join any server.

assets/customblocksounds/config/blockmap.json

Each line is one rule: the key is a block (optionally with blockstate properties), the value is a list of parameters. Duplicate keys are allowed - write one line per sound type.

json { "minecraft:brownmushroomblock[down=false,east=false,north=false,south=false,up=false,west=true]": "sound=minecraft:block.sand.break,type=break,volume=1.0,pitch=0.8", "minecraft:brownmushroomblock[down=false,east=false,north=false,south=false,up=false,west=true]": "sound=minecraft:block.sand.step,type=step", "minecraft:stone": "sound=mypack:customstonestep,type=step" }

- Blockstate properties in [...] are optional and may be partial - a rule matches every state that has the listed values. A more specific rule (more properties) wins. - sound= accepts any vanilla sound event (e.g. minecraft:block.sand.break - full list in vanilla sounds.json) or a sound declared in your own pack's assets/ /sounds.json (declare it in sounds.json as usual and put the .ogg next to it).

> Tip: press F3+T after editing blockmap.json - the config reloads without restarting the game.

| Parameter | Description | |---|---| | type | which sound to replace: break, fall, hit, place, step (alias walk), idle (alias ambient) | | sound | sound event id; optional for non-idle types (omit it to keep the vanilla sound a

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также