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 dflintermediary 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 booleanprotected 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) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.sound.SoundInstance
method_19605
-
Field Details
-
field_13678
- Mappings:
Namespace Name Mixin selector official aLdfl;a:Ldft;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 mLdfl;m:Ldgv;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 bLdfl;b:Lwk;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 cLdfl;c:Lpc;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 dLdfl;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 eLdfl;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 fLdfl;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 gLdfl;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 hLdfl;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 iLdfl;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 jLdfl;j:Iintermediary field_8142Lnet/minecraft/class_1891;field_8142:Inamed repeatDelayLnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
-
attenuationType
- Mappings:
Namespace Name Mixin selector official kLdfl;k:Ldfw$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;
-
field_21096
protected boolean field_21096- Mappings:
Namespace Name Mixin selector official lLdfl;l:Zintermediary field_21096Lnet/minecraft/class_1891;field_21096:Znamed field_21096Lnet/minecraft/client/sound/AbstractSoundInstance;field_21096:Z
-
-
Constructor Details
-
AbstractSoundInstance
-
AbstractSoundInstance
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official aLdfw;a()Lpc;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 aLdfw;a(Ldgt;)Ldgv;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 bLdfw;b()Ldft;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 cLdfw;c()Lwk;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 dLdfw;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 eLdfw;e()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 fLdfw;f()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 gLdfw;g()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 hLdfw;h()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 iLdfw;i()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 jLdfw;j()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 kLdfw;k()Ldfw$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;
-
method_19604
public boolean method_19604()- Specified by:
method_19604in interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official lLdfw;l()Zintermediary method_19604Lnet/minecraft/class_1900;method_19604()Znamed method_19604Lnet/minecraft/client/sound/SoundInstance;method_19604()Z
-