Class UnderwaterAmbientSoundHandler

java.lang.Object
net.minecraft.client.resources.sounds.UnderwaterAmbientSoundHandler
All Implemented Interfaces:
AmbientSoundHandler

public class UnderwaterAmbientSoundHandler extends Object implements AmbientSoundHandler
  • 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

      private final LocalPlayer player
    • soundManager

      private final SoundManager soundManager
    • tickDelay

      private int tickDelay
  • Constructor Details

    • UnderwaterAmbientSoundHandler

      public UnderwaterAmbientSoundHandler(LocalPlayer p_119856_, SoundManager p_119857_)
  • Method Details