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

    • field_13678

      protected class_2906 field_13678
      Mappings:
      Namespace Name Mixin selector
      official a Lcbs;a:Lcbz;
      intermediary field_13678 Lnet/minecraft/class_1891;field_13678:Lnet/minecraft/class_2906;
      named field_13678 Lnet/minecraft/client/sound/AbstractSoundInstance;field_13678:Lnet/minecraft/client/class_2906;
    • field_13680

      @Nullable private SoundContainerImpl field_13680
      Mappings:
      Namespace Name Mixin selector
      official l Lcbs;l:Lccu;
      intermediary field_13680 Lnet/minecraft/class_1891;field_13680:Lnet/minecraft/class_1915;
      named field_13680 Lnet/minecraft/client/sound/AbstractSoundInstance;field_13680:Lnet/minecraft/client/sound/SoundContainerImpl;
    • field_13679

      protected SoundCategory field_13679
      Mappings:
      Namespace Name Mixin selector
      official b Lcbs;b:Lno;
      intermediary field_13679 Lnet/minecraft/class_1891;field_13679:Lnet/minecraft/class_2153;
      named field_13679 Lnet/minecraft/client/sound/AbstractSoundInstance;field_13679:Lnet/minecraft/client/sound/SoundCategory;
    • identifier

      protected Identifier identifier
      Mappings:
      Namespace Name Mixin selector
      official c Lcbs;c:Lkq;
      intermediary field_8135 Lnet/minecraft/class_1891;field_8135:Lnet/minecraft/class_1653;
      named identifier Lnet/minecraft/client/sound/AbstractSoundInstance;identifier:Lnet/minecraft/util/Identifier;
    • volume

      protected float volume
      Mappings:
      Namespace Name Mixin selector
      official d Lcbs;d:F
      intermediary field_8136 Lnet/minecraft/class_1891;field_8136:F
      named volume Lnet/minecraft/client/sound/AbstractSoundInstance;volume:F
    • pitch

      protected float pitch
      Mappings:
      Namespace Name Mixin selector
      official e Lcbs;e:F
      intermediary field_8137 Lnet/minecraft/class_1891;field_8137:F
      named pitch Lnet/minecraft/client/sound/AbstractSoundInstance;pitch:F
    • x

      protected float x
      Mappings:
      Namespace Name Mixin selector
      official f Lcbs;f:F
      intermediary field_8138 Lnet/minecraft/class_1891;field_8138:F
      named x Lnet/minecraft/client/sound/AbstractSoundInstance;x:F
    • y

      protected float y
      Mappings:
      Namespace Name Mixin selector
      official g Lcbs;g:F
      intermediary field_8139 Lnet/minecraft/class_1891;field_8139:F
      named y Lnet/minecraft/client/sound/AbstractSoundInstance;y:F
    • z

      protected float z
      Mappings:
      Namespace Name Mixin selector
      official h Lcbs;h:F
      intermediary field_8140 Lnet/minecraft/class_1891;field_8140:F
      named z Lnet/minecraft/client/sound/AbstractSoundInstance;z:F
    • repeat

      protected boolean repeat
      Mappings:
      Namespace Name Mixin selector
      official i Lcbs;i:Z
      intermediary field_8141 Lnet/minecraft/class_1891;field_8141:Z
      named repeat Lnet/minecraft/client/sound/AbstractSoundInstance;repeat:Z
    • repeatDelay

      protected int repeatDelay
      Mappings:
      Namespace Name Mixin selector
      official j Lcbs;j:I
      intermediary field_8142 Lnet/minecraft/class_1891;field_8142:I
      named repeatDelay Lnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
    • attenuationType

      protected SoundInstance.AttenuationType attenuationType
      Mappings:
      Namespace Name Mixin selector
      official k Lcbs;k:Lccc$a;
      intermediary field_8143 Lnet/minecraft/class_1891;field_8143:Lnet/minecraft/class_1900$class_1901;
      named attenuationType Lnet/minecraft/client/sound/AbstractSoundInstance;attenuationType:Lnet/minecraft/client/sound/SoundInstance$AttenuationType;
  • Constructor Details

  • Method Details

    • getIdentifier

      public Identifier getIdentifier()
      Specified by:
      getIdentifier in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a()Lkq;
      intermediary method_7073 Lnet/minecraft/class_1900;method_7073()Lnet/minecraft/class_1653;
      named getIdentifier Lnet/minecraft/client/sound/SoundInstance;getIdentifier()Lnet/minecraft/util/Identifier;
    • method_12532

      public SoundContainerImpl method_12532(SoundManager soundManager)
      Specified by:
      method_12532 in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official a Lccc;a(Lccs;)Lccu;
      intermediary method_12532 Lnet/minecraft/class_1900;method_12532(Lnet/minecraft/class_1909;)Lnet/minecraft/class_1915;
      named method_12532 Lnet/minecraft/client/sound/SoundInstance;method_12532(Lnet/minecraft/client/sound/SoundManager;)Lnet/minecraft/client/sound/SoundContainerImpl;
    • method_12533

      public class_2906 method_12533()
      Specified by:
      method_12533 in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official b Lccc;b()Lcbz;
      intermediary method_12533 Lnet/minecraft/class_1900;method_12533()Lnet/minecraft/class_2906;
      named method_12533 Lnet/minecraft/client/sound/SoundInstance;method_12533()Lnet/minecraft/client/class_2906;
    • method_12534

      public SoundCategory method_12534()
      Specified by:
      method_12534 in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official c Lccc;c()Lno;
      intermediary method_12534 Lnet/minecraft/class_1900;method_12534()Lnet/minecraft/class_2153;
      named method_12534 Lnet/minecraft/client/sound/SoundInstance;method_12534()Lnet/minecraft/client/sound/SoundCategory;
    • isRepeatable

      public boolean isRepeatable()
      Specified by:
      isRepeatable in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official d Lccc;d()Z
      intermediary method_7074 Lnet/minecraft/class_1900;method_7074()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 e Lccc;e()I
      intermediary method_7075 Lnet/minecraft/class_1900;method_7075()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 f Lccc;f()F
      intermediary method_7076 Lnet/minecraft/class_1900;method_7076()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 g Lccc;g()F
      intermediary method_7077 Lnet/minecraft/class_1900;method_7077()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 h Lccc;h()F
      intermediary method_7078 Lnet/minecraft/class_1900;method_7078()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 i Lccc;i()F
      intermediary method_7079 Lnet/minecraft/class_1900;method_7079()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 j Lccc;j()F
      intermediary method_7080 Lnet/minecraft/class_1900;method_7080()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 k Lccc;k()Lccc$a;
      intermediary method_7081 Lnet/minecraft/class_1900;method_7081()Lnet/minecraft/class_1900$class_1901;
      named getAttenuationType Lnet/minecraft/client/sound/SoundInstance;getAttenuationType()Lnet/minecraft/client/sound/SoundInstance$AttenuationType;