BlockSoundGroup

interface BlockSoundGroup

The sounds that a block will make when specific actions are taken, such as breaking it, stepping on it, or falling on it.

Properties

Link copied to clipboard
@get:JvmName(name = "breakSound")
abstract val breakSound: SoundEvent

The sound that is played when the block is broken.

Link copied to clipboard
@get:JvmName(name = "fallSound")
abstract val fallSound: SoundEvent

The sound that is played when the block falls.

Link copied to clipboard
@get:JvmName(name = "hitSound")
abstract val hitSound: SoundEvent

The sound that is played when the block is hit.

Link copied to clipboard
@get:JvmName(name = "pitch")
abstract val pitch: Float

The pitch that the sounds in this group will be played at.

Link copied to clipboard
@get:JvmName(name = "placeSound")
abstract val placeSound: SoundEvent

The sound that is played when the block is placed.

Link copied to clipboard
@get:JvmName(name = "stepSound")
abstract val stepSound: SoundEvent

The sound that is played when the block is stepped on.

Link copied to clipboard
@get:JvmName(name = "volume")
abstract val volume: Float

The volume that the sounds in this group will be played at.