Interface BlockSoundGroup


public interface BlockSoundGroup
Represents sounds for a block.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Gets the sound played when the block is breaking.
    Gets the sound played when a Living entity falls onto the block.
    Gets the sound played when the block is hit.
    double
    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.
    double
    Gets the volume used when playing sounds.
  • Method Details Link icon

    • volume Link icon

      double volume()
      Gets the volume used when playing sounds.
      Returns:
      The volume
    • pitch Link icon

      double pitch()
      Gets the pitch used when playing sounds.
      Returns:
      The pitch
    • breakSound Link icon

      SoundType breakSound()
      Gets the sound played when the block is breaking.
      Returns:
      The break sound
    • stepSound Link icon

      SoundType stepSound()
      Gets the sound played when the block is stepped on.
      Returns:
      The step sound
    • placeSound Link icon

      SoundType placeSound()
      Gets the sound played when the block is placed.
      Returns:
      The place sound
    • hitSound Link icon

      SoundType hitSound()
      Gets the sound played when the block is hit.
      Returns:
      The hit sound
    • fallSound Link icon

      SoundType fallSound()
      Gets the sound played when a Living entity falls onto the block.
      Returns:
      The fall sound