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
@Environment(CLIENT) public interface SoundInstance
- Mappings:
Namespace Name official eul
intermediary net/minecraft/class_1113
named net/minecraft/client/sound/SoundInstance
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SoundInstance.AttenuationType
-
Method Summary
Modifier and Type Method Description default boolean
canPlay()
SoundInstance.AttenuationType
getAttenuationType()
SoundCategory
getCategory()
Identifier
getId()
float
getPitch()
int
getRepeatDelay()
Sound
getSound()
WeightedSoundSet
getSoundSet(SoundManager soundManager)
float
getVolume()
double
getX()
double
getY()
double
getZ()
boolean
isLooping()
boolean
isRepeatable()
default boolean
shouldAlwaysPlay()
-
Method Details
-
getId
Identifier getId()- Mappings:
Namespace Name Mixin selector official a
Leul;a()Lwb;
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
Leul;a(Levm;)Levn;
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
Leul;b()Leui;
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
Leul;c()Laeh;
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
Leul;d()Z
intermediary method_4786
Lnet/minecraft/class_1113;method_4786()Z
named isRepeatable
Lnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
-
isLooping
boolean isLooping()- Mappings:
Namespace Name Mixin selector official l
Leul;l()Z
intermediary method_4787
Lnet/minecraft/class_1113;method_4787()Z
named isLooping
Lnet/minecraft/client/sound/SoundInstance;isLooping()Z
-
getRepeatDelay
int getRepeatDelay()- Mappings:
Namespace Name Mixin selector official e
Leul;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
Leul;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
Leul;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
Leul;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
Leul;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
Leul;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
Leul;k()Leul$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
Leul;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
Leul;s()Z
intermediary method_26273
Lnet/minecraft/class_1113;method_26273()Z
named canPlay
Lnet/minecraft/client/sound/SoundInstance;canPlay()Z
-