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
official fya
intermediary net/minecraft/class_1116
named net/minecraft/client/sound/AmbientSoundPlayer
  • 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
      official a Lfya;a:F
      intermediary field_33008 Lnet/minecraft/class_1116;field_33008:F
      named MAX_TICKS_FOR_BASE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_BASE_SOUND_LOOP:F
    • MAX_TICKS_FOR_RARE_SOUND_LOOP

      public static final float MAX_TICKS_FOR_RARE_SOUND_LOOP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfya;b:F
      intermediary field_33009 Lnet/minecraft/class_1116;field_33009:F
      named MAX_TICKS_FOR_RARE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_RARE_SOUND_LOOP: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
      official c Lfya;c:F
      intermediary field_33010 Lnet/minecraft/class_1116;field_33010:F
      named MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP Lnet/minecraft/client/sound/AmbientSoundPlayer;MAX_TICKS_FOR_ULTRA_RARE_SOUND_LOOP:F
    • DEFAULT_TICKS_UNTIL_PLAY

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

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

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

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

    • AmbientSoundPlayer

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

    • tick

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