Class UnderwaterAmbientSoundHandler
java.lang.Object
net.minecraft.client.resources.sounds.UnderwaterAmbientSoundHandler
- All Implemented Interfaces:
AmbientSoundHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
private static int
private LocalPlayer
static float
private SoundManager
private int
static 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:
- Constant Field Values
-
RARE_CHANCE_PER_TICK
public static final float RARE_CHANCE_PER_TICK- See Also:
- Constant Field Values
-
ULTRA_RARE_CHANCE_PER_TICK
public static final float ULTRA_RARE_CHANCE_PER_TICK- See Also:
- Constant Field Values
-
MINIMUM_TICK_DELAY
private static final int MINIMUM_TICK_DELAY- See Also:
- Constant Field Values
-
player
-
soundManager
-
tickDelay
private int tickDelay
-
-
Constructor Details
-
UnderwaterAmbientSoundHandler
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceAmbientSoundHandler
-