Class BattleMusic.FixedTrackSound

java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.SimpleSoundInstance
com.pixelmonmod.pixelmon.client.music.BattleMusic.FixedTrackSound
All Implemented Interfaces:
net.minecraft.client.resources.sounds.SoundInstance
Enclosing class:
BattleMusic

public static class BattleMusic.FixedTrackSound extends net.minecraft.client.resources.sounds.SimpleSoundInstance
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstance

    net.minecraft.client.resources.sounds.SoundInstance.Attenuation
  • Field Summary

    Fields inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance

    attenuation, delay, location, looping, pitch, random, relative, sound, source, volume, x, y, z
  • Constructor Summary

    Constructors
    Constructor
    Description
    FixedTrackSound(net.minecraft.sounds.SoundEvent event, net.minecraft.sounds.SoundSource source, float volume, float pitch, net.minecraft.util.RandomSource randomSource, net.minecraft.core.BlockPos blockPos, int index)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.sounds.WeighedSoundEvents
    resolve(net.minecraft.client.sounds.SoundManager handler)
     

    Methods inherited from class net.minecraft.client.resources.sounds.SimpleSoundInstance

    forAmbientAddition, forAmbientMood, forJukeboxSong, forLocalAmbience, forMusic, forUI, forUI, forUI

    Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance

    getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.client.resources.sounds.SoundInstance

    canPlaySound, canStartSilent, getStream
  • Constructor Details

    • FixedTrackSound

      public FixedTrackSound(net.minecraft.sounds.SoundEvent event, net.minecraft.sounds.SoundSource source, float volume, float pitch, net.minecraft.util.RandomSource randomSource, net.minecraft.core.BlockPos blockPos, int index)
  • Method Details

    • resolve

      public net.minecraft.client.sounds.WeighedSoundEvents resolve(net.minecraft.client.sounds.SoundManager handler)
      Specified by:
      resolve in interface net.minecraft.client.resources.sounds.SoundInstance
      Overrides:
      resolve in class net.minecraft.client.resources.sounds.AbstractSoundInstance