Class MovingSoundInstance

java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.client.sound.MovingSoundInstance
All Implemented Interfaces:
SoundInstance, TickableSoundInstance
Direct Known Subclasses:
AbstractBeeSoundInstance, AmbientSoundLoops.MusicLoop, AmbientSoundLoops.Underwater, BiomeEffectSoundPlayer.MusicLoop, ElytraSoundInstance, EntityTrackingSoundInstance, GuardianAttackSoundInstance, MinecartInsideSoundInstance, MovingMinecartSoundInstance, SnifferDigSoundInstance

@Environment(CLIENT) public abstract class MovingSoundInstance extends AbstractSoundInstance implements TickableSoundInstance
Mappings:
Namespace Name
official gbv
intermediary net/minecraft/class_1101
named net/minecraft/client/sound/MovingSoundInstance
  • Field Details

    • done

      private boolean done
      Mappings:
      Namespace Name Mixin selector
      official n Lgbv;n:Z
      intermediary field_5438 Lnet/minecraft/class_1101;field_5438:Z
      named done Lnet/minecraft/client/sound/MovingSoundInstance;done:Z
  • Constructor Details

    • MovingSoundInstance

      protected MovingSoundInstance(SoundEvent sound, SoundCategory category, Random random)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgbu;<init>(Lapc;Lape;Lasc;)V
      intermediary <init> Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;Lnet/minecraft/class_5819;)V
      named <init> Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/random/Random;)V
  • Method Details

    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface TickableSoundInstance
      Mappings:
      Namespace Name Mixin selector
      official m Lgcn;m()Z
      intermediary method_4793 Lnet/minecraft/class_1117;method_4793()Z
      named isDone Lnet/minecraft/client/sound/TickableSoundInstance;isDone()Z
    • setDone

      protected final void setDone()
      Mappings:
      Namespace Name Mixin selector
      official n Lgbv;n()V
      intermediary method_24876 Lnet/minecraft/class_1101;method_24876()V
      named setDone Lnet/minecraft/client/sound/MovingSoundInstance;setDone()V