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
named net/minecraft/client/sound/SoundInstance
intermediary net/minecraft/class_1113
official gsp
  • Method Details

    • getId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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