public void playStreaming(String par1Str, float par2, float par3, float par4, float par5, float par6)
    {
        if (loaded && (this.options.soundVolume != 0.0F || par1Str == null))
        {
            String var7 = "streaming";

            if (sndSystem.playing("streaming"))
            {
                sndSystem.stop("streaming");
            }

            if (par1Str != null)
            {
                SoundPoolEntry var8 = this.soundPoolStreaming.getRandomSoundFromSoundPool(par1Str);
                var8 = ForgeHooksClient.onPlayStreaming(this, var8, par1Str, par2, par3, par4);

                if (var8 != null && par5 > 0.0F)
                {
                    if (sndSystem.playing("BgMusic"))
                    {
                        sndSystem.stop("BgMusic");
                    }

                    float var9 = 16.0F;
                    sndSystem.newStreamingSource(true, var7, var8.soundUrl, var8.soundName, false, par2, par3, par4, 2, var9 * 4.0F);
                    sndSystem.setVolume(var7, 0.5F * this.options.soundVolume);
                    sndSystem.play(var7);
                }
            }
        }
    }