of

@Contract(value = "_, _, _, _ -> new", pure = true)
fun of(sound: SoundEvent, tickDelay: Int, blockSearchExtent: Int, offset: Double): AmbientMoodSettings

Creates new ambient mood sound settings with the given values.

Return

new ambient mood sound settings

Parameters

sound

the sound

tickDelay

the delay, in ticks, before playing the sound

blockSearchExtent

the cubic range of possible positions to play the sound

offset

the offset from the client's position