Interface Facet.Sound<V,P>

Type Parameters:
V - a viewer type
P - a position type
All Superinterfaces:
Facet<V>, Facet.Position<V,P>
Enclosing interface:
Facet<V>

public static interface Facet.Sound<V,P> extends Facet.Position<V,P>
A facet that plays and stops sounds.
Since:
4.0.0
  • Method Details

    • playSound

      void playSound(@NotNull V viewer, @NotNull Sound sound, @NotNull P position)
      Plays a sound.
      Parameters:
      viewer - a viewer
      sound - a sound
      position - a position
      Since:
      4.0.0
    • stopSound

      void stopSound(@NotNull V viewer, @NotNull @NotNull SoundStop sound)
      Stops a sound.
      Parameters:
      viewer - a viewer
      sound - a sound stop
      Since:
      4.0.0