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 official cgjintermediary net/minecraft/class_1891named net/minecraft/client/sound/AbstractSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SoundInstance.AttenuationTypeprotected class_2906protected SoundCategoryprivate SoundContainerImplprotected Identifierprotected floatprotected booleanprotected intprotected floatprotected floatprotected floatprotected float -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSoundInstance(SoundEvent soundEvent, SoundCategory soundCategory) protectedAbstractSoundInstance(Identifier identifier, SoundCategory soundCategory) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetPitch()intfloatfloatgetX()floatgetY()floatgetZ()booleanmethod_12532(SoundManager soundManager)
-
Field Details
-
field_13678
- Mappings:
Namespace Name Mixin selector official aLcgj;a:Lcgq;intermediary field_13678Lnet/minecraft/class_1891;field_13678:Lnet/minecraft/class_2906;named field_13678Lnet/minecraft/client/sound/AbstractSoundInstance;field_13678:Lnet/minecraft/client/class_2906;
-
field_13680
- Mappings:
Namespace Name Mixin selector official lLcgj;l:Lchq;intermediary field_13680Lnet/minecraft/class_1891;field_13680:Lnet/minecraft/class_1915;named field_13680Lnet/minecraft/client/sound/AbstractSoundInstance;field_13680:Lnet/minecraft/client/sound/SoundContainerImpl;
-
field_13679
- Mappings:
Namespace Name Mixin selector official bLcgj;b:Lqg;intermediary field_13679Lnet/minecraft/class_1891;field_13679:Lnet/minecraft/class_2153;named field_13679Lnet/minecraft/client/sound/AbstractSoundInstance;field_13679:Lnet/minecraft/client/sound/SoundCategory;
-
identifier
- Mappings:
Namespace Name Mixin selector official cLcgj;c:Lnf;intermediary field_8135Lnet/minecraft/class_1891;field_8135:Lnet/minecraft/class_1653;named identifierLnet/minecraft/client/sound/AbstractSoundInstance;identifier:Lnet/minecraft/util/Identifier;
-
volume
protected float volume- Mappings:
Namespace Name Mixin selector official dLcgj;d:Fintermediary field_8136Lnet/minecraft/class_1891;field_8136:Fnamed volumeLnet/minecraft/client/sound/AbstractSoundInstance;volume:F
-
pitch
protected float pitch- Mappings:
Namespace Name Mixin selector official eLcgj;e:Fintermediary field_8137Lnet/minecraft/class_1891;field_8137:Fnamed pitchLnet/minecraft/client/sound/AbstractSoundInstance;pitch:F
-
x
protected float x- Mappings:
Namespace Name Mixin selector official fLcgj;f:Fintermediary field_8138Lnet/minecraft/class_1891;field_8138:Fnamed xLnet/minecraft/client/sound/AbstractSoundInstance;x:F
-
y
protected float y- Mappings:
Namespace Name Mixin selector official gLcgj;g:Fintermediary field_8139Lnet/minecraft/class_1891;field_8139:Fnamed yLnet/minecraft/client/sound/AbstractSoundInstance;y:F
-
z
protected float z- Mappings:
Namespace Name Mixin selector official hLcgj;h:Fintermediary field_8140Lnet/minecraft/class_1891;field_8140:Fnamed zLnet/minecraft/client/sound/AbstractSoundInstance;z:F
-
repeat
protected boolean repeat- Mappings:
Namespace Name Mixin selector official iLcgj;i:Zintermediary field_8141Lnet/minecraft/class_1891;field_8141:Znamed repeatLnet/minecraft/client/sound/AbstractSoundInstance;repeat:Z
-
repeatDelay
protected int repeatDelay- Mappings:
Namespace Name Mixin selector official jLcgj;j:Iintermediary field_8142Lnet/minecraft/class_1891;field_8142:Inamed repeatDelayLnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
-
attenuationType
- Mappings:
Namespace Name Mixin selector official kLcgj;k:Lcgt$a;intermediary field_8143Lnet/minecraft/class_1891;field_8143:Lnet/minecraft/class_1900$class_1901;named attenuationTypeLnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-
-
Constructor Details
-
AbstractSoundInstance
-
AbstractSoundInstance
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official aLcgt;a()Lnf;intermediary method_7073Lnet/minecraft/class_1900;method_7073()Lnet/minecraft/class_1653;named getIdentifierLnet/minecraft/client/sound/SoundInstance;getIdentifier()Lnet/minecraft/util/Identifier;
-
method_12532
- Specified by:
method_12532in interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official aLcgt;a(Lcho;)Lchq;intermediary method_12532Lnet/minecraft/class_1900;method_12532(Lnet/minecraft/class_1909;)Lnet/minecraft/class_1915;named method_12532Lnet/minecraft/client/sound/SoundInstance;method_12532(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/SoundContainerImpl;
-
method_12533
- Specified by:
method_12533in interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official bLcgt;b()Lcgq;intermediary method_12533Lnet/minecraft/class_1900;method_12533()Lnet/minecraft/class_2906;named method_12533Lnet/minecraft/client/sound/SoundInstance;method_12533()Lnet/minecraft/client/class_2906;
-
method_12534
- Specified by:
method_12534in interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official cLcgt;c()Lqg;intermediary method_12534Lnet/minecraft/class_1900;method_12534()Lnet/minecraft/class_2153;named method_12534Lnet/minecraft/client/sound/SoundInstance;method_12534()Lnet/minecraft/client/sound/SoundCategory;
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official dLcgt;d()Zintermediary method_7074Lnet/minecraft/class_1900;method_7074()Znamed isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
-
getRepeatDelay
public int getRepeatDelay()- Specified by:
getRepeatDelayin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official fLcgt;f()Iintermediary method_7075Lnet/minecraft/class_1900;method_7075()Inamed getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
-
getVolume
public float getVolume()- Specified by:
getVolumein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official gLcgt;g()Fintermediary method_7076Lnet/minecraft/class_1900;method_7076()Fnamed getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()F
-
getPitch
public float getPitch()- Specified by:
getPitchin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official hLcgt;h()Fintermediary method_7077Lnet/minecraft/class_1900;method_7077()Fnamed getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()F
-
getX
public float getX()- Specified by:
getXin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official iLcgt;i()Fintermediary method_7078Lnet/minecraft/class_1900;method_7078()Fnamed getXLnet/minecraft/client/sound/SoundInstance;getX()F
-
getY
public float getY()- Specified by:
getYin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official jLcgt;j()Fintermediary method_7079Lnet/minecraft/class_1900;method_7079()Fnamed getYLnet/minecraft/client/sound/SoundInstance;getY()F
-
getZ
public float getZ()- Specified by:
getZin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official kLcgt;k()Fintermediary method_7080Lnet/minecraft/class_1900;method_7080()Fnamed getZLnet/minecraft/client/sound/SoundInstance;getZ()F
-
getAttenuationType
- Specified by:
getAttenuationTypein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official lLcgt;l()Lcgt$a;intermediary method_7081Lnet/minecraft/class_1900;method_7081()Lnet/minecraft/class_1900$class_1901;named getAttenuationTypeLnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-