Class Above

java.lang.Object
fr.xxathyx.mediaplayer.audio.util.Above
All Implemented Interfaces:
AudioUtil

public class Above extends Object implements AudioUtil
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stopAudio(org.bukkit.entity.Player player, String sound)
    Stops a sound effect that is actually played to a player, packets will be used for the following versions: v1_8_R1, v1_8_R2, v1_8_R3, v1_9_R1, v1_9_R2, otherwise for further versions the Minecraft stopsound command will be called from Console.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Above

      public Above()
  • Method Details

    • stopAudio

      public void stopAudio(org.bukkit.entity.Player player, String sound)
      Description copied from interface: AudioUtil
      Stops a sound effect that is actually played to a player, packets will be used for the following versions: v1_8_R1, v1_8_R2, v1_8_R3, v1_9_R1, v1_9_R2, otherwise for further versions the Minecraft stopsound command will be called from Console.

      This is the same as calling

      invalid @link
      SoundPlayer#stopSound(Player)
      .
      Specified by:
      stopAudio in interface AudioUtil
      Parameters:
      player - The player hearing a sound.