Sounds: vanilla event and custom OGG
Configure sounds in plugins/Obsidrel/resources/sounds/. Start with a vanilla event requiring no custom file.
Basic official sample
ui_click:
enabled: true
category: MASTER
replace: false
sounds:
- name: 'minecraft:block.note_block.pling'
type: EVENT
volume: 1.0
pitch: 1.0
weight: 1
stream: false
preload: false
attenuation-distance: 16
Advanced custom audio
- Save
click.oggunderplugins/Obsidrel/pack/source/assets/obsidrel/sounds/ui/click.ogg. - Use a
soundsentry withname: obsidrel:ui/clickandtype: SOUNDinstead of the vanilla event. - Build/deliver the pack and validate playback before using it in an Action
SOUND.
| Field | Examples/purpose |
|---|---|
enabled | boolean |
category | sound category such as MASTER |
replace | replacement behavior |
sounds | list of variants |
name | vanilla event or obsidrel:ui/click |
type | EVENT or custom SOUND |
volume, pitch, weight | numeric parameters |
stream, preload | client options |
attenuation-distance | attenuation radius |
Common issues: wrong namespace, OGG missing from pack, stale pack or muted client audio. See Actions and Resource Packs.