ItemSound

constructor(sound: Sound, vararg clickType: ClickType)(source)

Parameters

sound

The sound which should be played

clickType

The click types which should trigger the sound. If left empty, the sound will be played on every click, regardless of the click type