Class UnderwaterAmbientSoundHandler
java.lang.Object
net.minecraft.client.resources.sounds.UnderwaterAmbientSoundHandler
- All Implemented Interfaces:
AmbientSoundHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
private static final int
private final LocalPlayer
static final float
private final SoundManager
private int
static final float
-
Constructor Summary
ConstructorDescriptionUnderwaterAmbientSoundHandler
(LocalPlayer p_119856_, SoundManager p_119857_) -
Method Summary
-
Field Details
-
CHANCE_PER_TICK
public static final float CHANCE_PER_TICK- See Also:
-
RARE_CHANCE_PER_TICK
public static final float RARE_CHANCE_PER_TICK- See Also:
-
ULTRA_RARE_CHANCE_PER_TICK
public static final float ULTRA_RARE_CHANCE_PER_TICK- See Also:
-
MINIMUM_TICK_DELAY
private static final int MINIMUM_TICK_DELAY- See Also:
-
player
-
soundManager
-
tickDelay
private int tickDelay
-
-
Constructor Details
-
UnderwaterAmbientSoundHandler
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceAmbientSoundHandler
-