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 gtg
  • 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 Lgtg;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 Lgtg;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 Lgtg;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 Lgtg;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 Lgtg;e:Lgdh;
    • 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 Lgtg;f:Lguj;
    • 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 Lgtg;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> Lgtg;<init>(Lgdh;Lguj;)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 Lgso;a()V