Package com.destroystokyo.paper.block
Interface BlockSoundGroup
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the sounds that a
Block
makes in certain situations
The sound group includes break, step, place, hit, and fall sounds.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getBreakSound
Deprecated, for removal: This API element is subject to removal in a future version.Gets the sound that plays when breaking this block- Returns:
- The break sound
-
getStepSound
Deprecated, for removal: This API element is subject to removal in a future version.Gets the sound that plays when stepping on this block- Returns:
- The step sound
-
getPlaceSound
Deprecated, for removal: This API element is subject to removal in a future version.Gets the sound that plays when placing this block- Returns:
- The place sound
-
getHitSound
Deprecated, for removal: This API element is subject to removal in a future version.Gets the sound that plays when hitting this block- Returns:
- The hit sound
-
getFallSound
Deprecated, for removal: This API element is subject to removal in a future version.Gets the sound that plays when this block falls- Returns:
- The fall sound
-
SoundGroup