Package net.minecraft.client.sound
Class AmbientSoundLoops.MusicLoop
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
net.minecraft.client.sound.AmbientSoundLoops.MusicLoop
- All Implemented Interfaces:
SoundInstance,TickableSoundInstance
- Enclosing class:
- AmbientSoundLoops
@Environment(CLIENT) public static class AmbientSoundLoops.MusicLoop extends MovingSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields Modifier and Type Field Description private ClientPlayerEntityplayerFields inherited from class net.minecraft.client.sound.AbstractSoundInstance
attenuationType, category, id, looping, pitch, repeat, repeatDelay, sound, volume, x, y, z -
Constructor Summary
Constructors Modifier Constructor Description protectedMusicLoop(ClientPlayerEntity player, SoundEvent soundEvent) -
Method Summary
Modifier and Type Method Description voidtick()Methods inherited from class net.minecraft.client.sound.MovingSoundInstance
isDone, setDoneMethods inherited from class net.minecraft.client.sound.AbstractSoundInstance
getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, getAttenuationType, getCategory, getId, getPitch, getRepeatDelay, getSound, getSoundSet, getVolume, getX, getY, getZ, isLooping, isRepeatable, shouldAlwaysPlay
-
Field Details
-
player
-
-
Constructor Details
-
MusicLoop
-
-
Method Details
-
tick
public void tick()
-