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

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

    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lfci;a()Lyh;
      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 Lfci;a(Lfdi;)Lfdj;
      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 Lfci;b()Lfcf;
      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 Lfci;c()Lagw;
      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 Lfci;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 Lfci;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 Lfci;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 Lfci;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 Lfci;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 Lfci;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 Lfci;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 Lfci;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 Lfci;k()Lfci$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 Lfci;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 Lfci;s()Z
      intermediary method_26273 Lnet/minecraft/class_1113;method_26273()Z
      named canPlay Lnet/minecraft/client/sound/SoundInstance;canPlay()Z