ISoundEventDefinition

Link to isoundeventdefinition

An ISoundEventDefinition object represents a sound event in the game. A sound event is triggered when a sound is about to be played.

Dieses Paket importieren

Link to dieses-paket-importieren

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import mods.contenttweaker.SoundEvent;

Calling an ISoundEventDefinition object

Link to calling-an-isoundeventdefinition-object

You can get such an object using the Sound Event Bracket Handler:
<soundevent:ambient.cave>

ZenMethods without parameters

Link to zenmethods-without-parameters

ZenMethodRückgabetypDefinition
ZenMethod
getSoundName()
Rückgabetyp
String
Definition
Returns the event's sound's name