Package net.minecraft.client.sound
Interface SoundInstance
- All Known Subinterfaces:
TickableSoundInstance
- All Known Implementing Classes:
AbstractSoundInstance,GuardianAttackSoundInstance,MinecartMovingSoundInstance,MinecartSoundInstance,MovingSoundInstance,PositionedSoundInstance
@Environment(CLIENT) public interface SoundInstance
- Mappings:
Namespace Name official bpjintermediary net/minecraft/class_1311named net/minecraft/client/sound/SoundInstance
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSoundInstance.AttenuationType -
Method Summary
Modifier and Type Method Description SoundInstance.AttenuationTypegetAttenuationType()IdentifiergetIdentifier()floatgetPitch()intgetRepeatDelay()floatgetVolume()floatgetX()floatgetY()floatgetZ()booleanisRepeatable()
-
Method Details
-
getIdentifier
Identifier getIdentifier()- 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
boolean isRepeatable()- 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
int getRepeatDelay()- 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
float getVolume()- 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
float getPitch()- 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
float getX()- 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
float getY()- 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
float getZ()- 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
SoundInstance.AttenuationType getAttenuationType()- 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;
-