OBSIDREL / DOCS

Documentation

Guides, tutorials and technical references for the Obsidrel ecosystem.

DocumentationSounds: vanilla event and custom OGG

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

yaml
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

  1. Save click.ogg under plugins/Obsidrel/pack/source/assets/obsidrel/sounds/ui/click.ogg.
  2. Use a sounds entry with name: obsidrel:ui/click and type: SOUND instead of the vanilla event.
  3. Build/deliver the pack and validate playback before using it in an Action SOUND.
FieldExamples/purpose
enabledboolean
categorysound category such as MASTER
replacereplacement behavior
soundslist of variants
namevanilla event or obsidrel:ui/click
typeEVENT or custom SOUND
volume, pitch, weightnumeric parameters
stream, preloadclient options
attenuation-distanceattenuation radius

Common issues: wrong namespace, OGG missing from pack, stale pack or muted client audio. See Actions and Resource Packs.

Was this article helpful?Loading ratings…

Help us improve Obsidrel documentation. One vote per account and article. Discord AI feedback can also contribute when the answer cites this article.