Examples of playCustomSoundEffect()


Examples of net.minecraft.src.SoundManager.playCustomSoundEffect()

        sndManager.addCustomMusic(song.getName().toString(), song);
      }
      if (!soundEffect) {
        sndManager.playMusic(song.getName().toString(), 0, x, y, z, volume / 100F, distance);
      } else {
        sndManager.playCustomSoundEffect(song.getName().toString(), x, y, z, volume / 100F, distance);
      }
      return true;
    }
    return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.