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/SoundInstanceintermediary net/minecraft/class_1113official gua
-
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 named getIdLnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;intermediary method_4775Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;official aLgua;a()Lakr;
-
getSoundSet
- Mappings:
Namespace Name Mixin selector named getSoundSetLnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;intermediary method_4783Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;official aLgua;a(Lgvf;)Lgvg;
-
getSound
Sound getSound()- Mappings:
Namespace Name Mixin selector named getSoundLnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;intermediary method_4776Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;official bLgua;b()Lgtx;
-
getCategory
SoundCategory getCategory()- Mappings:
Namespace Name Mixin selector named getCategoryLnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;intermediary method_4774Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;official cLgua;c()Lavq;
-
isRepeatable
boolean isRepeatable()- Mappings:
Namespace Name Mixin selector named isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Zintermediary method_4786Lnet/minecraft/class_1113;method_4786()Zofficial dLgua;d()Z
-
isRelative
boolean isRelative()- Mappings:
Namespace Name Mixin selector named isRelativeLnet/minecraft/client/sound/SoundInstance;isRelative()Zintermediary method_4787Lnet/minecraft/class_1113;method_4787()Zofficial lLgua;l()Z
-
getRepeatDelay
int getRepeatDelay()- Mappings:
Namespace Name Mixin selector named getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()Iintermediary method_4780Lnet/minecraft/class_1113;method_4780()Iofficial eLgua;e()I
-
getVolume
float getVolume()- Mappings:
Namespace Name Mixin selector named getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()Fintermediary method_4781Lnet/minecraft/class_1113;method_4781()Fofficial fLgua;f()F
-
getPitch
float getPitch()- Mappings:
Namespace Name Mixin selector named getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()Fintermediary method_4782Lnet/minecraft/class_1113;method_4782()Fofficial gLgua;g()F
-
getX
double getX()- Mappings:
Namespace Name Mixin selector named getXLnet/minecraft/client/sound/SoundInstance;getX()Dintermediary method_4784Lnet/minecraft/class_1113;method_4784()Dofficial hLgua;h()D
-
getY
double getY()- Mappings:
Namespace Name Mixin selector named getYLnet/minecraft/client/sound/SoundInstance;getY()Dintermediary method_4779Lnet/minecraft/class_1113;method_4779()Dofficial iLgua;i()D
-
getZ
double getZ()- Mappings:
Namespace Name Mixin selector named getZLnet/minecraft/client/sound/SoundInstance;getZ()Dintermediary method_4778Lnet/minecraft/class_1113;method_4778()Dofficial jLgua;j()D
-
getAttenuationType
SoundInstance.AttenuationType getAttenuationType()- Mappings:
Namespace Name Mixin selector named getAttenuationTypeLnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;intermediary method_4777Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;official kLgua;k()Lgua$a;
-
shouldAlwaysPlay
default boolean shouldAlwaysPlay()- Mappings:
Namespace Name Mixin selector named shouldAlwaysPlayLnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Zintermediary method_4785Lnet/minecraft/class_1113;method_4785()Zofficial rLgua;r()Z
-
canPlay
default boolean canPlay()- Mappings:
Namespace Name Mixin selector named canPlayLnet/minecraft/client/sound/SoundInstance;canPlay()Zintermediary method_26273Lnet/minecraft/class_1113;method_26273()Zofficial sLgua;s()Z
-
createRandom
- Mappings:
Namespace Name Mixin selector named createRandomLnet/minecraft/client/sound/SoundInstance;createRandom()Lnet/minecraft/util/math/random/Random;intermediary method_43221Lnet/minecraft/class_1113;method_43221()Lnet/minecraft/class_5819;official tLgua;t()Layw;
-