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