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 official fxy
intermediary net/minecraft/class_1113
named net/minecraft/client/sound/SoundInstance
-
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 official a
Lfxy;a()Lacq;
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
- Mappings:
Namespace Name Mixin selector official a
Lfxy;a(Lfzc;)Lfzd;
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
Lfxy;b()Lfxv;
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
Lfxy;c()Lami;
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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;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
Lfxy;k()Lfxy$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
Lfxy;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
Lfxy;s()Z
intermediary method_26273
Lnet/minecraft/class_1113;method_26273()Z
named canPlay
Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
createRandom
- Mappings:
Namespace Name Mixin selector official t
Lfxy;t()Lapf;
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;
-