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 p_235109_, net.minecraft.sounds.SoundSource p_235110_, float p_235111_, float p_235112_, net.minecraft.util.RandomSource p_235113_, net.minecraft.core.BlockPos p_235114_, 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, forLocalAmbience, forMusic, forRecord, 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 p_235109_, net.minecraft.sounds.SoundSource p_235110_, float p_235111_, float p_235112_, net.minecraft.util.RandomSource p_235113_, net.minecraft.core.BlockPos p_235114_, 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