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 frp
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 Lfrp;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 Lfrp;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 Lfrp;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 Lfrp;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 Lfrp;e:Lfcz;
      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 Lfrp;f:Lfsr;
      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 Lfrp;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> Lfrp;<init>(Lfcz;Lfsr;)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 Lfqy;a()V
      intermediary method_4756 Lnet/minecraft/class_1104;method_4756()V
      named tick Lnet/minecraft/client/util/ClientPlayerTickable;tick()V