Interface BlockSoundGroup
public interface BlockSoundGroup
Represents sounds for a block.
-
Method Summary
Modifier and TypeMethodDescriptionGets the sound played when the block is breaking.Gets the sound played when aLivingentity falls onto the block.hitSound()Gets the sound played when the block is hit.doublepitch()Gets the pitch used when playing sounds.Gets the sound played when the block is placed.Gets the sound played when the block is stepped on.doublevolume()Gets the volume used when playing sounds.
-
Method Details
-
volume
double volume()Gets the volume used when playing sounds.- Returns:
- The volume
-
pitch
double pitch()Gets the pitch used when playing sounds.- Returns:
- The pitch
-
breakSound
-
stepSound
-
placeSound
-
hitSound
-
fallSound
-