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 intermediary net/minecraft/class_1113official fxnnamed net/minecraft/client/sound/SoundInstance
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanPlay()static RandomgetId()floatgetPitch()intgetSound()getSoundSet(SoundManager soundManager) floatdoublegetX()doublegetY()doublegetZ()booleanbooleandefault boolean
-
Method Details
-
getId
Identifier getId()- Mappings:
Namespace Name Mixin selector intermediary method_4775Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;official aLfxn;a()Lacq;named getIdLnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;
-
getSoundSet
- Mappings:
Namespace Name Mixin selector intermediary method_4783Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;official aLfxn;a(Lfyr;)Lfys;named getSoundSetLnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;
-
getSound
Sound getSound()- Mappings:
Namespace Name Mixin selector intermediary method_4776Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;official bLfxn;b()Lfxk;named getSoundLnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;
-
getCategory
SoundCategory getCategory()- Mappings:
Namespace Name Mixin selector intermediary method_4774Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;official cLfxn;c()Lami;named getCategoryLnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;
-
isRepeatable
boolean isRepeatable()- Mappings:
Namespace Name Mixin selector intermediary method_4786Lnet/minecraft/class_1113;method_4786()Zofficial dLfxn;d()Znamed isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
-
isRelative
boolean isRelative()- Mappings:
Namespace Name Mixin selector intermediary method_4787Lnet/minecraft/class_1113;method_4787()Zofficial lLfxn;l()Znamed isRelativeLnet/minecraft/client/sound/SoundInstance;isRelative()Z
-
getRepeatDelay
int getRepeatDelay()- Mappings:
Namespace Name Mixin selector intermediary method_4780Lnet/minecraft/class_1113;method_4780()Iofficial eLfxn;e()Inamed getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
-
getVolume
float getVolume()- Mappings:
Namespace Name Mixin selector intermediary method_4781Lnet/minecraft/class_1113;method_4781()Fofficial fLfxn;f()Fnamed getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()F
-
getPitch
float getPitch()- Mappings:
Namespace Name Mixin selector intermediary method_4782Lnet/minecraft/class_1113;method_4782()Fofficial gLfxn;g()Fnamed getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()F
-
getX
double getX()- Mappings:
Namespace Name Mixin selector intermediary method_4784Lnet/minecraft/class_1113;method_4784()Dofficial hLfxn;h()Dnamed getXLnet/minecraft/client/sound/SoundInstance;getX()D
-
getY
double getY()- Mappings:
Namespace Name Mixin selector intermediary method_4779Lnet/minecraft/class_1113;method_4779()Dofficial iLfxn;i()Dnamed getYLnet/minecraft/client/sound/SoundInstance;getY()D
-
getZ
double getZ()- Mappings:
Namespace Name Mixin selector intermediary method_4778Lnet/minecraft/class_1113;method_4778()Dofficial jLfxn;j()Dnamed getZLnet/minecraft/client/sound/SoundInstance;getZ()D
-
getAttenuationType
SoundInstance.AttenuationType getAttenuationType()- Mappings:
Namespace Name Mixin selector intermediary method_4777Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;official kLfxn;k()Lfxn$a;named getAttenuationTypeLnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-
shouldAlwaysPlay
default boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector intermediary method_4785Lnet/minecraft/class_1113;method_4785()Zofficial rLfxn;r()Znamed shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z
-
canPlay
default boolean canPlay()- Mappings:
Namespace Name Mixin selector intermediary method_26273Lnet/minecraft/class_1113;method_26273()Zofficial sLfxn;s()Znamed canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Z
-
createRandom
- Mappings:
Namespace Name Mixin selector intermediary method_43221Lnet/minecraft/class_1113;method_43221()Lnet/minecraft/class_5819;official tLfxn;t()Lapf;named createRandomLnet/minecraft/client/sound/SoundInstance;createRandom()Lnet/minecraft/util/math/random/Random;
-