net.minecraft.client.sound

public class ConditionalMusicLoop

extends MovingSoundInstance

All mapped superinterfaces:

SoundInstance, TickableSoundInstance

net.minecraft.client.resources.sounds.UnderLiquidAmbientSoundInstance
net.minecraft.class_1_1138
net.minecraft.client.sound.ConditionalMusicLoop

Field summary

Modifier and TypeField
public static final int
FADE_DURATION
field_1_7898
MAX_COUNTER
private final ClientPlayerEntity
player
field_1_7901
player
private final Predicate<ClientPlayerEntity>
isUnderLiquid
field_1_7900
playerTest
private int
fade
field_1_7899
counter

Constructor summary

ModifierConstructor
public (SoundEvent sound, ClientPlayerEntity player, Predicate<ClientPlayerEntity> playerTest)

Method summary

Modifier and TypeMethod
public static ConditionalMusicLoop
underwater(LocalPlayer player)
method_1_7202(class_746 arg0)
underwater(ClientPlayerEntity player)
public void
tick()
method_16896()
tick()