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
- Mappings:
Namespace Name official euo$aintermediary net/minecraft/class_1118$class_1119named net/minecraft/client/sound/AmbientSoundLoops$MusicLoop
-
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
- Mappings:
Namespace Name Mixin selector official mLeuo$a;m:Legw;intermediary field_5482Lnet/minecraft/class_1118$class_1119;field_5482:Lnet/minecraft/class_746;named playerLnet/minecraft/client/sound/AmbientSoundLoops$MusicLoop;player:Lnet/minecraft/client/network/ClientPlayerEntity;
-
-
Constructor Details
-
MusicLoop
- Mappings:
Namespace Name Mixin selector official <init>Leuo$a;<init>(Legw;Laef;)Vintermediary <init>Lnet/minecraft/class_1118$class_1119;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_3414;)Vnamed <init>Lnet/minecraft/client/sound/AmbientSoundLoops$MusicLoop;<init>(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/sound/SoundEvent;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official qLeum;q()Vintermediary method_16896Lnet/minecraft/class_1117;method_16896()Vnamed tickLnet/minecraft/client/sound/TickableSoundInstance;tick()V
-