Skip to content

API reference Obsidian.API.Builders

SoundEffectBuilder class

public sealed class SoundEffectBuilder : BaseSoundEffectBuilder

In Obsidian.API.

Methods

public override ISoundEffect Build();

Create(SoundEvent, SoundCategory)

public static ISoundEffectBuilder Create(SoundEvent sound, SoundCategory soundCategory = 0);

Builds a playable effect from a registered or inline event, preserving its fixed range.

public static ISoundEffectBuilder Create(string soundLocation, SoundCategory soundCategory = 0);

On this page