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 bpa
intermediary net/minecraft/class_1300
named net/minecraft/client/sound/AbstractSoundInstance
  • Field Details

    • identifier

      protected final Identifier identifier
      Mappings:
      Namespace Name Mixin selector
      official a Lbpa;a:Ljy;
      intermediary field_5399 Lnet/minecraft/class_1300;field_5399:Lnet/minecraft/class_1605;
      named identifier Lnet/minecraft/client/sound/AbstractSoundInstance;identifier:Lnet/minecraft/util/Identifier;
    • volume

      protected float volume
      Mappings:
      Namespace Name Mixin selector
      official b Lbpa;b:F
      intermediary field_5400 Lnet/minecraft/class_1300;field_5400:F
      named volume Lnet/minecraft/client/sound/AbstractSoundInstance;volume:F
    • pitch

      protected float pitch
      Mappings:
      Namespace Name Mixin selector
      official c Lbpa;c:F
      intermediary field_5401 Lnet/minecraft/class_1300;field_5401:F
      named pitch Lnet/minecraft/client/sound/AbstractSoundInstance;pitch:F
    • x

      protected float x
      Mappings:
      Namespace Name Mixin selector
      official d Lbpa;d:F
      intermediary field_5402 Lnet/minecraft/class_1300;field_5402:F
      named x Lnet/minecraft/client/sound/AbstractSoundInstance;x:F
    • y

      protected float y
      Mappings:
      Namespace Name Mixin selector
      official e Lbpa;e:F
      intermediary field_5403 Lnet/minecraft/class_1300;field_5403:F
      named y Lnet/minecraft/client/sound/AbstractSoundInstance;y:F
    • z

      protected float z
      Mappings:
      Namespace Name Mixin selector
      official f Lbpa;f:F
      intermediary field_5404 Lnet/minecraft/class_1300;field_5404:F
      named z Lnet/minecraft/client/sound/AbstractSoundInstance;z:F
    • repeat

      protected boolean repeat
      Mappings:
      Namespace Name Mixin selector
      official g Lbpa;g:Z
      intermediary field_5405 Lnet/minecraft/class_1300;field_5405:Z
      named repeat Lnet/minecraft/client/sound/AbstractSoundInstance;repeat:Z
    • repeatDelay

      protected int repeatDelay
      Mappings:
      Namespace Name Mixin selector
      official h Lbpa;h:I
      intermediary field_5406 Lnet/minecraft/class_1300;field_5406:I
      named repeatDelay Lnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
    • attenuationType

      protected SoundInstance.AttenuationType attenuationType
      Mappings:
      Namespace Name Mixin selector
      official i Lbpa;i:Lbpj$a;
      intermediary field_5407 Lnet/minecraft/class_1300;field_5407:Lnet/minecraft/class_1311$class_1312;
      named attenuationType Lnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
  • Constructor Details

    • AbstractSoundInstance

      protected AbstractSoundInstance​(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpa;<init>(Ljy;)V
      intermediary <init> Lnet/minecraft/class_1300;<init>(Lnet/minecraft/class_1605;)V
      named <init> Lnet/minecraft/client/sound/AbstractSoundInstance;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getIdentifier

      public Identifier getIdentifier()
      Specified by:
      getIdentifier in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official a Lbpj;a()Ljy;
      intermediary method_4537 Lnet/minecraft/class_1311;method_4537()Lnet/minecraft/class_1605;
      named getIdentifier Lnet/minecraft/client/sound/SoundInstance;getIdentifier()Lnet/minecraft/util/Identifier;
    • isRepeatable

      public boolean isRepeatable()
      Specified by:
      isRepeatable in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official b Lbpj;b()Z
      intermediary method_4538 Lnet/minecraft/class_1311;method_4538()Z
      named isRepeatable Lnet/minecraft/client/sound/SoundInstance;isRepeatable()Z
    • getRepeatDelay

      public int getRepeatDelay()
      Specified by:
      getRepeatDelay in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official d Lbpj;d()I
      intermediary method_4539 Lnet/minecraft/class_1311;method_4539()I
      named getRepeatDelay Lnet/minecraft/client/sound/SoundInstance;getRepeatDelay()I
    • getVolume

      public float getVolume()
      Specified by:
      getVolume in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official e Lbpj;e()F
      intermediary method_4540 Lnet/minecraft/class_1311;method_4540()F
      named getVolume Lnet/minecraft/client/sound/SoundInstance;getVolume()F
    • getPitch

      public float getPitch()
      Specified by:
      getPitch in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official f Lbpj;f()F
      intermediary method_4541 Lnet/minecraft/class_1311;method_4541()F
      named getPitch Lnet/minecraft/client/sound/SoundInstance;getPitch()F
    • getX

      public float getX()
      Specified by:
      getX in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official g Lbpj;g()F
      intermediary method_4542 Lnet/minecraft/class_1311;method_4542()F
      named getX Lnet/minecraft/client/sound/SoundInstance;getX()F
    • getY

      public float getY()
      Specified by:
      getY in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official h Lbpj;h()F
      intermediary method_4543 Lnet/minecraft/class_1311;method_4543()F
      named getY Lnet/minecraft/client/sound/SoundInstance;getY()F
    • getZ

      public float getZ()
      Specified by:
      getZ in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official i Lbpj;i()F
      intermediary method_4544 Lnet/minecraft/class_1311;method_4544()F
      named getZ Lnet/minecraft/client/sound/SoundInstance;getZ()F
    • getAttenuationType

      public SoundInstance.AttenuationType getAttenuationType()
      Specified by:
      getAttenuationType in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official j Lbpj;j()Lbpj$a;
      intermediary method_4545 Lnet/minecraft/class_1311;method_4545()Lnet/minecraft/class_1311$class_1312;
      named getAttenuationType Lnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;