Package net.minecraft.client.audio

Examples of net.minecraft.client.audio.ISound


              }

              float newVolume = volume / Math.max(0.01F, ((IGalacticraftWorldProvider) player.worldObj.provider).getSoundVolReductionAmount());

              this.soundPlayList.add(new SoundPlayEntry(event.name, x, y, z, newVolume));
              ISound newSound = new PositionedSoundRecord(event.sound.getPositionedSoundLocation(), newVolume, event.sound.getPitch(), x, y, z);
              event.manager.playSound(newSound);
              event.result = null;
              return;
            }
          }
View Full Code Here

TOP

Related Classes of net.minecraft.client.audio.ISound

Copyright © 2018 www.massapicom. 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.