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/SoundInstance- intermediary - net/minecraft/class_1113- official - hon
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancanPlay()static RandomgetId()floatgetPitch()intgetSound()getSoundSet(SoundManager soundManager) floatdoublegetX()doublegetY()doublegetZ()booleanbooleandefault boolean
- 
Method Details- 
getIdIdentifier getId()- Mappings:
- Namespace - Name - Mixin selector - named - getId- Lnet/minecraft/client/sound/SoundInstance;getId()Lnet/minecraft/util/Identifier;- intermediary - method_4775- Lnet/minecraft/class_1113;method_4775()Lnet/minecraft/class_2960;- official - a- Lhon;a()Lalr;
 
- 
getSoundSet- Mappings:
- Namespace - Name - Mixin selector - named - getSoundSet- Lnet/minecraft/client/sound/SoundInstance;getSoundSet(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/WeightedSoundSet;- intermediary - method_4783- Lnet/minecraft/class_1113;method_4783(Lnet/minecraft/class_1144;)Lnet/minecraft/class_1146;- official - a- Lhon;a(Lhpt;)Lhpu;
 
- 
getSoundSound getSound()- Mappings:
- Namespace - Name - Mixin selector - named - getSound- Lnet/minecraft/client/sound/SoundInstance;getSound()Lnet/minecraft/client/sound/Sound;- intermediary - method_4776- Lnet/minecraft/class_1113;method_4776()Lnet/minecraft/class_1111;- official - b- Lhon;b()Lhok;
 
- 
getCategorySoundCategory getCategory()- Mappings:
- Namespace - Name - Mixin selector - named - getCategory- Lnet/minecraft/client/sound/SoundInstance;getCategory()Lnet/minecraft/sound/SoundCategory;- intermediary - method_4774- Lnet/minecraft/class_1113;method_4774()Lnet/minecraft/class_3419;- official - c- Lhon;c()Lawz;
 
- 
isRepeatableboolean isRepeatable()- Mappings:
- Namespace - Name - Mixin selector - named - isRepeatable- Lnet/minecraft/client/sound/SoundInstance;isRepeatable()Z- intermediary - method_4786- Lnet/minecraft/class_1113;method_4786()Z- official - d- Lhon;d()Z
 
- 
isRelativeboolean isRelative()- Mappings:
- Namespace - Name - Mixin selector - named - isRelative- Lnet/minecraft/client/sound/SoundInstance;isRelative()Z- intermediary - method_4787- Lnet/minecraft/class_1113;method_4787()Z- official - l- Lhon;l()Z
 
- 
getRepeatDelayint getRepeatDelay()- Mappings:
- Namespace - Name - Mixin selector - named - getRepeatDelay- Lnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I- intermediary - method_4780- Lnet/minecraft/class_1113;method_4780()I- official - e- Lhon;e()I
 
- 
getVolumefloat getVolume()- Mappings:
- Namespace - Name - Mixin selector - named - getVolume- Lnet/minecraft/client/sound/SoundInstance;getVolume()F- intermediary - method_4781- Lnet/minecraft/class_1113;method_4781()F- official - f- Lhon;f()F
 
- 
getPitchfloat getPitch()- Mappings:
- Namespace - Name - Mixin selector - named - getPitch- Lnet/minecraft/client/sound/SoundInstance;getPitch()F- intermediary - method_4782- Lnet/minecraft/class_1113;method_4782()F- official - g- Lhon;g()F
 
- 
getXdouble getX()- Mappings:
- Namespace - Name - Mixin selector - named - getX- Lnet/minecraft/client/sound/SoundInstance;getX()D- intermediary - method_4784- Lnet/minecraft/class_1113;method_4784()D- official - h- Lhon;h()D
 
- 
getYdouble getY()- Mappings:
- Namespace - Name - Mixin selector - named - getY- Lnet/minecraft/client/sound/SoundInstance;getY()D- intermediary - method_4779- Lnet/minecraft/class_1113;method_4779()D- official - i- Lhon;i()D
 
- 
getZdouble getZ()- Mappings:
- Namespace - Name - Mixin selector - named - getZ- Lnet/minecraft/client/sound/SoundInstance;getZ()D- intermediary - method_4778- Lnet/minecraft/class_1113;method_4778()D- official - j- Lhon;j()D
 
- 
getAttenuationTypeSoundInstance.AttenuationType getAttenuationType()- Mappings:
- Namespace - Name - Mixin selector - named - getAttenuationType- Lnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;- intermediary - method_4777- Lnet/minecraft/class_1113;method_4777()Lnet/minecraft/class_1113$class_1114;- official - k- Lhon;k()Lhon$a;
 
- 
shouldAlwaysPlaydefault boolean shouldAlwaysPlay()- Mappings:
- Namespace - Name - Mixin selector - named - shouldAlwaysPlay- Lnet/minecraft/client/sound/SoundInstance;shouldAlwaysPlay()Z- intermediary - method_4785- Lnet/minecraft/class_1113;method_4785()Z- official - r- Lhon;r()Z
 
- 
canPlaydefault boolean canPlay()- Mappings:
- Namespace - Name - Mixin selector - named - canPlay- Lnet/minecraft/client/sound/SoundInstance;canPlay()Z- intermediary - method_26273- Lnet/minecraft/class_1113;method_26273()Z- official - s- Lhon;s()Z
 
- 
createRandom- Mappings:
- Namespace - Name - Mixin selector - named - createRandom- Lnet/minecraft/client/sound/SoundInstance;createRandom()Lnet/minecraft/util/math/random/Random;- intermediary - method_43221- Lnet/minecraft/class_1113;method_43221()Lnet/minecraft/class_5819;- official - t- Lhon;t()Lbai;
 
 
-