Package net.minecraft.client.sound
Class AbstractSoundInstance
java.lang.Object
net.minecraft.client.sound.AbstractSoundInstance
- All Implemented Interfaces:
 SoundInstance
- Direct Known Subclasses:
 MovingSoundInstance,PositionedSoundInstance
@Environment(CLIENT)
public abstract class AbstractSoundInstance
extends Object
implements SoundInstance
- Mappings:
 Namespace Name named net/minecraft/client/sound/AbstractSoundInstanceintermediary net/minecraft/class_1102official huy
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SoundInstance.AttenuationTypeprotected final SoundCategoryprotected final Identifierprotected floatprotected Randomprotected booleanprotected booleanprotected intprotected floatprotected doubleprotected doubleprotected double - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSoundInstance(SoundEvent sound, SoundCategory category, Random random) protectedAbstractSoundInstance(Identifier soundId, SoundCategory category, Random random)  - 
Method Summary
Modifier and TypeMethodDescriptiongetId()floatgetPitch()intgetSound()getSoundSet(SoundManager soundManager) floatdoublegetX()doublegetY()doublegetZ()booleanbooleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
canPlay, shouldAlwaysPlay 
- 
Field Details
- 
sound
- Mappings:
 Namespace Name Mixin selector named soundLnet/minecraft/client/sound/AbstractSoundInstance;sound:Lnet/minecraft/client/sound/Sound;intermediary field_5444Lnet/minecraft/class_1102;field_5444:Lnet/minecraft/class_1111;official aLhuy;a:Lhvo;
 - 
category
- Mappings:
 Namespace Name Mixin selector named categoryLnet/minecraft/client/sound/AbstractSoundInstance;category:Lnet/minecraft/sound/SoundCategory;intermediary field_5447Lnet/minecraft/class_1102;field_5447:Lnet/minecraft/class_3419;official bLhuy;b:Laza;
 - 
id
- Mappings:
 Namespace Name Mixin selector named idLnet/minecraft/client/sound/AbstractSoundInstance;id:Lnet/minecraft/util/Identifier;intermediary field_5448Lnet/minecraft/class_1102;field_5448:Lnet/minecraft/class_2960;official cLhuy;c:Lame;
 - 
volume
protected float volume- Mappings:
 Namespace Name Mixin selector named volumeLnet/minecraft/client/sound/AbstractSoundInstance;volume:Fintermediary field_5442Lnet/minecraft/class_1102;field_5442:Fofficial dLhuy;d:F
 - 
pitch
protected float pitch- Mappings:
 Namespace Name Mixin selector named pitchLnet/minecraft/client/sound/AbstractSoundInstance;pitch:Fintermediary field_5441Lnet/minecraft/class_1102;field_5441:Fofficial eLhuy;e:F
 - 
x
protected double x- Mappings:
 Namespace Name Mixin selector named xLnet/minecraft/client/sound/AbstractSoundInstance;x:Dintermediary field_5439Lnet/minecraft/class_1102;field_5439:Dofficial fLhuy;f:D
 - 
y
protected double y- Mappings:
 Namespace Name Mixin selector named yLnet/minecraft/client/sound/AbstractSoundInstance;y:Dintermediary field_5450Lnet/minecraft/class_1102;field_5450:Dofficial gLhuy;g:D
 - 
z
protected double z- Mappings:
 Namespace Name Mixin selector named zLnet/minecraft/client/sound/AbstractSoundInstance;z:Dintermediary field_5449Lnet/minecraft/class_1102;field_5449:Dofficial hLhuy;h:D
 - 
repeat
protected boolean repeat- Mappings:
 Namespace Name Mixin selector named repeatLnet/minecraft/client/sound/AbstractSoundInstance;repeat:Zintermediary field_5446Lnet/minecraft/class_1102;field_5446:Zofficial iLhuy;i:Z
 - 
repeatDelay
protected int repeatDelay- Mappings:
 Namespace Name Mixin selector named repeatDelayLnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:Iintermediary field_5451Lnet/minecraft/class_1102;field_5451:Iofficial jLhuy;j:I
 - 
attenuationType
- Mappings:
 Namespace Name Mixin selector named attenuationTypeLnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;intermediary field_5440Lnet/minecraft/class_1102;field_5440:Lnet/minecraft/class_1113$class_1114;official kLhuy;k:Lhvr$a;
 - 
relative
protected boolean relative- Mappings:
 Namespace Name Mixin selector named relativeLnet/minecraft/client/sound/AbstractSoundInstance;relative:Zintermediary field_18936Lnet/minecraft/class_1102;field_18936:Zofficial lLhuy;l:Z
 - 
random
- Mappings:
 Namespace Name Mixin selector named randomLnet/minecraft/client/sound/AbstractSoundInstance;random:Lnet/minecraft/util/math/random/Random;intermediary field_38800Lnet/minecraft/class_1102;field_38800:Lnet/minecraft/class_5819;official mLhuy;m:Lbck;
 
 - 
 - 
Constructor Details
- 
AbstractSoundInstance
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/random/Random;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;Lnet/minecraft/class_5819;)Vofficial <init>Lhuy;<init>(Layy;Laza;Lbck;)V
 - 
AbstractSoundInstance
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/random/Random;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_5819;)Vofficial <init>Lhuy;<init>(Lame;Laza;Lbck;)V
 
 - 
 - 
Method Details
- 
getId
- Specified by:
 getIdin interfaceSoundInstance- 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 aLhvr;a()Lame;
 - 
getSoundSet
- Specified by:
 getSoundSetin interfaceSoundInstance- 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 aLhvr;a(Lhwx;)Lhwy;
 - 
getSound
- Specified by:
 getSoundin interfaceSoundInstance- 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 bLhvr;b()Lhvo;
 - 
getCategory
- Specified by:
 getCategoryin interfaceSoundInstance- 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 cLhvr;c()Laza;
 - 
isRepeatable
public boolean isRepeatable()- Specified by:
 isRepeatablein interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Zintermediary method_4786Lnet/minecraft/class_1113;method_4786()Zofficial dLhvr;d()Z
 - 
getRepeatDelay
public int getRepeatDelay()- Specified by:
 getRepeatDelayin interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()Iintermediary method_4780Lnet/minecraft/class_1113;method_4780()Iofficial eLhvr;e()I
 - 
getVolume
public float getVolume()- Specified by:
 getVolumein interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()Fintermediary method_4781Lnet/minecraft/class_1113;method_4781()Fofficial fLhvr;f()F
 - 
getPitch
public float getPitch()- Specified by:
 getPitchin interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()Fintermediary method_4782Lnet/minecraft/class_1113;method_4782()Fofficial gLhvr;g()F
 - 
getX
public double getX()- Specified by:
 getXin interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getXLnet/minecraft/client/sound/SoundInstance;getX()Dintermediary method_4784Lnet/minecraft/class_1113;method_4784()Dofficial hLhvr;h()D
 - 
getY
public double getY()- Specified by:
 getYin interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getYLnet/minecraft/client/sound/SoundInstance;getY()Dintermediary method_4779Lnet/minecraft/class_1113;method_4779()Dofficial iLhvr;i()D
 - 
getZ
public double getZ()- Specified by:
 getZin interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named getZLnet/minecraft/client/sound/SoundInstance;getZ()Dintermediary method_4778Lnet/minecraft/class_1113;method_4778()Dofficial jLhvr;j()D
 - 
getAttenuationType
- Specified by:
 getAttenuationTypein interfaceSoundInstance- 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 kLhvr;k()Lhvr$a;
 - 
isRelative
public boolean isRelative()- Specified by:
 isRelativein interfaceSoundInstance- Mappings:
 Namespace Name Mixin selector named isRelativeLnet/minecraft/client/sound/SoundInstance;isRelative()Zintermediary method_4787Lnet/minecraft/class_1113;method_4787()Zofficial lLhvr;l()Z
 - 
toString
 
 -