Interface SoundInstance

All Known Subinterfaces:
TickableSoundInstance
All Known Implementing Classes:
AbstractBeeSoundInstance, AbstractSoundInstance, AggressiveBeeSoundInstance, AmbientSoundLoops.MusicLoop, AmbientSoundLoops.Underwater, BiomeEffectSoundPlayer.MusicLoop, ElytraSoundInstance, EntityTrackingSoundInstance, GuardianAttackSoundInstance, MinecartInsideSoundInstance, MovingMinecartSoundInstance, MovingSoundInstance, PassiveBeeSoundInstance, PositionedSoundInstance, SnifferDigSoundInstance

@Environment(CLIENT) public interface SoundInstance
Mappings:
Namespace Name
official gia
intermediary net/minecraft/class_1113
named net/minecraft/client/sound/SoundInstance
  • Method Details

    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lgia;a()Lahg;
      intermediary method_4775 Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;
    • getSoundSet

      @Nullable @Nullable WeightedSoundSet getSoundSet(SoundManager soundManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lgia;a(Lgje;)Lgjf;
      intermediary method_4783 Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;
      named getSoundSet Lnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;
    • getSound

      Sound getSound()
      Mappings:
      Namespace Name Mixin selector
      official b Lgia;b()Lghx;
      intermediary method_4776 Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;
      named getSound Lnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;
    • getCategory

      SoundCategory getCategory()
      Mappings:
      Namespace Name Mixin selector
      official c Lgia;c()Lart;
      intermediary method_4774 Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;
      named getCategory Lnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;
    • isRepeatable

      boolean isRepeatable()
      Mappings:
      Namespace Name Mixin selector
      official d Lgia;d()Z
      intermediary method_4786 Lnet/minecraft/class_1113;method_4786()Z
      named isRepeatable Lnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
    • isRelative

      boolean isRelative()
      Mappings:
      Namespace Name Mixin selector
      official l Lgia;l()Z
      intermediary method_4787 Lnet/minecraft/class_1113;method_4787()Z
      named isRelative Lnet/minecraft/client/sound/SoundInstance;isRelative()Z
    • getRepeatDelay

      int getRepeatDelay()
      Mappings:
      Namespace Name Mixin selector
      official e Lgia;e()I
      intermediary method_4780 Lnet/minecraft/class_1113;method_4780()I
      named getRepeatDelay Lnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
    • getVolume

      float getVolume()
      Mappings:
      Namespace Name Mixin selector
      official f Lgia;f()F
      intermediary method_4781 Lnet/minecraft/class_1113;method_4781()F
      named getVolume Lnet/minecraft/client/sound/SoundInstance;getVolume()F
    • getPitch

      float getPitch()
      Mappings:
      Namespace Name Mixin selector
      official g Lgia;g()F
      intermediary method_4782 Lnet/minecraft/class_1113;method_4782()F
      named getPitch Lnet/minecraft/client/sound/SoundInstance;getPitch()F
    • getX

      double getX()
      Mappings:
      Namespace Name Mixin selector
      official h Lgia;h()D
      intermediary method_4784 Lnet/minecraft/class_1113;method_4784()D
      named getX Lnet/minecraft/client/sound/SoundInstance;getX()D
    • getY

      double getY()
      Mappings:
      Namespace Name Mixin selector
      official i Lgia;i()D
      intermediary method_4779 Lnet/minecraft/class_1113;method_4779()D
      named getY Lnet/minecraft/client/sound/SoundInstance;getY()D
    • getZ

      double getZ()
      Mappings:
      Namespace Name Mixin selector
      official j Lgia;j()D
      intermediary method_4778 Lnet/minecraft/class_1113;method_4778()D
      named getZ Lnet/minecraft/client/sound/SoundInstance;getZ()D
    • getAttenuationType

      SoundInstance.AttenuationType getAttenuationType()
      Mappings:
      Namespace Name Mixin selector
      official k Lgia;k()Lgia$a;
      intermediary method_4777 Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;
      named getAttenuationType Lnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
    • shouldAlwaysPlay

      default boolean shouldAlwaysPlay()
      Mappings:
      Namespace Name Mixin selector
      official r Lgia;r()Z
      intermediary method_4785 Lnet/minecraft/class_1113;method_4785()Z
      named shouldAlwaysPlay Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
    • canPlay

      default boolean canPlay()
      Mappings:
      Namespace Name Mixin selector
      official s Lgia;s()Z
      intermediary method_26273 Lnet/minecraft/class_1113;method_26273()Z
      named canPlay Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
    • createRandom

      static Random createRandom()
      Mappings:
      Namespace Name Mixin selector
      official t Lgia;t()Lauv;
      intermediary method_43221 Lnet/minecraft/class_1113;method_43221()Lnet/minecraft/class_5819;
      named createRandom Lnet/minecraft/client/sound/SoundInstance;createRandom()Lnet/minecraft/util/math/random/Random;