Interface IAmbientSoundEmitter


public interface IAmbientSoundEmitter
Represents this tile entity as one that has an ambient sound that loops.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a reference to the sound(s) that this emits.
    boolean
    Whether or not the system believes the sound should be playing right now.
    void
    Causes the sound that this emits to begin, refreshing it as if it has just started for the first time.
  • Method Details

    • getSoundInstance

      StartLoopEndBlockSound getSoundInstance()
      Returns a reference to the sound(s) that this emits.
      Returns:
      A reference to the sound that this emits.
    • startSound

      void startSound()
      Causes the sound that this emits to begin, refreshing it as if it has just started for the first time.
    • soundShouldBePlaying

      boolean soundShouldBePlaying()
      Whether or not the system believes the sound should be playing right now.
      Returns:
      Whether or not the sound should be playing right now.