Class AmbientSoundPlayer

java.lang.Object
net.minecraft.client.sound.AmbientSoundPlayer
All Implemented Interfaces:
ClientPlayerTickable

@Environment(CLIENT) public class AmbientSoundPlayer extends Object implements ClientPlayerTickable
Mappings:
Namespace Name
named net/minecraft/client/sound/AmbientSoundPlayer
intermediary net/minecraft/class_1116
official guc
  • Field Details

    • MAX_TICKS_FOR_BASE_SOUND_LOOP

      public static final float MAX_TICKS_FOR_BASE_SOUND_LOOP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TICKS_FOR_BASE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_BASE_SOUND_LOOP:F
      intermediary field_33008 Lnet/minecraft/class_1116;field_33008:F
      official a Lguc;a:F
    • MAX_TICKS_FOR_RARE_SOUND_LOOP

      public static final float MAX_TICKS_FOR_RARE_SOUND_LOOP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TICKS_FOR_RARE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_RARE_SOUND_LOOP:F
      intermediary field_33009 Lnet/minecraft/class_1116;field_33009:F
      official b Lguc;b:F
    • MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP

      public static final float MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP:F
      intermediary field_33010 Lnet/minecraft/class_1116;field_33010:F
      official c Lguc;c:F
    • DEFAULT_TICKS_UNTIL_PLAY

      private static final int DEFAULT_TICKS_UNTIL_PLAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_TICKS_UNTIL_PLAY Lnet/minecraft/client/sound/AmbientSoundPlayer;DEFAULT_TICKS_UNTIL_PLAY:I
      intermediary field_33011 Lnet/minecraft/class_1116;field_33011:I
      official d Lguc;d:I
    • player

      private final ClientPlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/client/sound/AmbientSoundPlayer;player:Lnet/minecraft/client/network/ClientPlayerEntity;
      intermediary field_5481 Lnet/minecraft/class_1116;field_5481:Lnet/minecraft/class_746;
      official e Lguc;e:Lgeb;
    • soundManager

      private final SoundManager soundManager
      Mappings:
      Namespace Name Mixin selector
      named soundManager Lnet/minecraft/client/sound/AmbientSoundPlayer;soundManager:Lnet/minecraft/client/sound/SoundManager;
      intermediary field_5479 Lnet/minecraft/class_1116;field_5479:Lnet/minecraft/class_1144;
      official f Lguc;f:Lgvf;
    • ticksUntilPlay

      private int ticksUntilPlay
      Mappings:
      Namespace Name Mixin selector
      named ticksUntilPlay Lnet/minecraft/client/sound/AmbientSoundPlayer;ticksUntilPlay:I
      intermediary field_5480 Lnet/minecraft/class_1116;field_5480:I
      official g Lguc;g:I
  • Constructor Details

    • AmbientSoundPlayer

      public AmbientSoundPlayer(ClientPlayerEntity player, SoundManager soundManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/AmbientSoundPlayer;<init>(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/sound/SoundManager;)V
      intermediary <init> Lnet/minecraft/class_1116;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_1144;)V
      official <init> Lguc;<init>(Lgeb;Lgvf;)V
  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface ClientPlayerTickable
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/util/ClientPlayerTickable;tick()V
      intermediary method_4756 Lnet/minecraft/class_1104;method_4756()V
      official a Lgtk;a()V