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 bpaintermediary net/minecraft/class_1300named net/minecraft/client/sound/AbstractSoundInstance
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.sound.SoundInstance
SoundInstance.AttenuationType -
Field Summary
Fields Modifier and Type Field Description protected SoundInstance.AttenuationTypeattenuationTypeprotected Identifieridentifierprotected floatpitchprotected booleanrepeatprotected intrepeatDelayprotected floatvolumeprotected floatxprotected floatyprotected floatz -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSoundInstance(Identifier identifier) -
Method Summary
Modifier and Type Method Description SoundInstance.AttenuationTypegetAttenuationType()IdentifiergetIdentifier()floatgetPitch()intgetRepeatDelay()floatgetVolume()floatgetX()floatgetY()floatgetZ()booleanisRepeatable()
-
Field Details
-
identifier
- Mappings:
Namespace Name Mixin selector official aLbpa;a:Ljy;intermediary field_5399Lnet/minecraft/class_1300;field_5399:Lnet/minecraft/class_1605;named identifierLnet/minecraft/client/sound/AbstractSoundInstance;identifier:Lnet/minecraft/util/Identifier;
-
volume
protected float volume- Mappings:
Namespace Name Mixin selector official bLbpa;b:Fintermediary field_5400Lnet/minecraft/class_1300;field_5400:Fnamed volumeLnet/minecraft/client/sound/AbstractSoundInstance;volume:F
-
pitch
protected float pitch- Mappings:
Namespace Name Mixin selector official cLbpa;c:Fintermediary field_5401Lnet/minecraft/class_1300;field_5401:Fnamed pitchLnet/minecraft/client/sound/AbstractSoundInstance;pitch:F
-
x
protected float x- Mappings:
Namespace Name Mixin selector official dLbpa;d:Fintermediary field_5402Lnet/minecraft/class_1300;field_5402:Fnamed xLnet/minecraft/client/sound/AbstractSoundInstance;x:F
-
y
protected float y- Mappings:
Namespace Name Mixin selector official eLbpa;e:Fintermediary field_5403Lnet/minecraft/class_1300;field_5403:Fnamed yLnet/minecraft/client/sound/AbstractSoundInstance;y:F
-
z
protected float z- Mappings:
Namespace Name Mixin selector official fLbpa;f:Fintermediary field_5404Lnet/minecraft/class_1300;field_5404:Fnamed zLnet/minecraft/client/sound/AbstractSoundInstance;z:F
-
repeat
protected boolean repeat- Mappings:
Namespace Name Mixin selector official gLbpa;g:Zintermediary field_5405Lnet/minecraft/class_1300;field_5405:Znamed repeatLnet/minecraft/client/sound/AbstractSoundInstance;repeat:Z
-
repeatDelay
protected int repeatDelay- Mappings:
Namespace Name Mixin selector official hLbpa;h:Iintermediary field_5406Lnet/minecraft/class_1300;field_5406:Inamed repeatDelayLnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
-
attenuationType
- Mappings:
Namespace Name Mixin selector official iLbpa;i:Lbpj$a;intermediary field_5407Lnet/minecraft/class_1300;field_5407:Lnet/minecraft/class_1311$class_1312;named attenuationTypeLnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-
-
Constructor Details
-
AbstractSoundInstance
- Mappings:
Namespace Name Mixin selector official <init>Lbpa;<init>(Ljy;)Vintermediary <init>Lnet/minecraft/class_1300;<init>(Lnet/minecraft/class_1605;)Vnamed <init>Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official aLbpj;a()Ljy;intermediary method_4537Lnet/minecraft/class_1311;method_4537()Lnet/minecraft/class_1605;named getIdentifierLnet/minecraft/client/sound/SoundInstance;getIdentifier()Lnet/minecraft/util/Identifier;
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official bLbpj;b()Zintermediary method_4538Lnet/minecraft/class_1311;method_4538()Znamed isRepeatableLnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
-
getRepeatDelay
public int getRepeatDelay()- Specified by:
getRepeatDelayin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official dLbpj;d()Iintermediary method_4539Lnet/minecraft/class_1311;method_4539()Inamed getRepeatDelayLnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
-
getVolume
public float getVolume()- Specified by:
getVolumein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official eLbpj;e()Fintermediary method_4540Lnet/minecraft/class_1311;method_4540()Fnamed getVolumeLnet/minecraft/client/sound/SoundInstance;getVolume()F
-
getPitch
public float getPitch()- Specified by:
getPitchin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official fLbpj;f()Fintermediary method_4541Lnet/minecraft/class_1311;method_4541()Fnamed getPitchLnet/minecraft/client/sound/SoundInstance;getPitch()F
-
getX
public float getX()- Specified by:
getXin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official gLbpj;g()Fintermediary method_4542Lnet/minecraft/class_1311;method_4542()Fnamed getXLnet/minecraft/client/sound/SoundInstance;getX()F
-
getY
public float getY()- Specified by:
getYin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official hLbpj;h()Fintermediary method_4543Lnet/minecraft/class_1311;method_4543()Fnamed getYLnet/minecraft/client/sound/SoundInstance;getY()F
-
getZ
public float getZ()- Specified by:
getZin interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official iLbpj;i()Fintermediary method_4544Lnet/minecraft/class_1311;method_4544()Fnamed getZLnet/minecraft/client/sound/SoundInstance;getZ()F
-
getAttenuationType
- Specified by:
getAttenuationTypein interfaceSoundInstance- Mappings:
Namespace Name Mixin selector official jLbpj;j()Lbpj$a;intermediary method_4545Lnet/minecraft/class_1311;method_4545()Lnet/minecraft/class_1311$class_1312;named getAttenuationTypeLnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
-