Package net.minecraft.client.sound
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
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundInstance
intermediary net/minecraft/class_1113
official gso
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canPlay()
static Random
getId()
float
getPitch()
int
getSound()
getSoundSet
(SoundManager soundManager) float
double
getX()
double
getY()
double
getZ()
boolean
boolean
default boolean
-
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
Lgso;a()Lalf;
-
getSoundSet
- 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
Lgso;a(Lgtw;)Lgtx;
-
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
Lgso;b()Lgsl;
-
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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;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
Lgso;k()Lgso$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
Lgso;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
Lgso;s()Z
-
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
Lgso;t()Lazh;
-