Package com.destroystokyo.paper.block
Interface BlockSoundGroup
public interface BlockSoundGroup
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 TypeMethodDescriptionGets the sound that plays when breaking this blockGets the sound that plays when this block fallsGets the sound that plays when hitting this blockGets the sound that plays when placing this blockGets the sound that plays when stepping on this block
-
Method Details
-
getBreakSound
Gets the sound that plays when breaking this block- Returns:
- The break sound
-
getStepSound
Gets the sound that plays when stepping on this block- Returns:
- The step sound
-
getPlaceSound
Gets the sound that plays when placing this block- Returns:
- The place sound
-
getHitSound
Gets the sound that plays when hitting this block- Returns:
- The hit sound
-
getFallSound
Gets the sound that plays when this block falls- Returns:
- The fall sound
-