Interface Sound.Emitter

Enclosing interface:
Sound

public static interface Sound.Emitter
An emitter of sounds.
Since:
4.8.0
See Also:
Audience.playSound(Sound, Emitter)
  • Method Summary

    Static Methods
    Modifier and Type Method Description
    static @NotNull Sound.Emitter self()
    An emitter representing the recipient of a sound.
  • Method Details

    • self

      @NotNull static @NotNull Sound.Emitter self()
      An emitter representing the recipient of a sound.

      When used with Audience.playSound(Sound, Emitter), the sound will be emitted from the recipient of the sound.

      Returns:
      the emitter
      Since:
      4.8.0