Interface PlaySoundEvent

    • Method Detail

      • location

        ServerLocation location()
        Gets the location of the sound being played.
        Returns:
        the location of the sound being played
      • volume

        float volume()
        Gets the volume of the sound being played.
        Returns:
        A float that represents the relative volume. This value may be positive value.
      • pitch

        float pitch()
        Gets the pitch of the sound being played
        Returns:
        A float that represents the pitch.