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

    • identifier

      protected final Identifier identifier
      Mappings:
      Namespace Name Mixin selector
      official a Lcxt;a:Loa;
      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 b Lcxt;b: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 c Lcxt;c: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 d Lcxt;d: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 e Lcxt;e: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 f Lcxt;f: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 g Lcxt;g: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 h Lcxt;h:I
      intermediary field_8142 Lnet/minecraft/class_1891;field_8142:I
      named repeatDelay Lnet/minecraft/client/sound/AbstractSoundInstance;repeatDelay:I
    • field_8143

      protected class_1901 field_8143
      Mappings:
      Namespace Name Mixin selector
      official i Lcxt;i:Lcyf;
      intermediary field_8143 Lnet/minecraft/class_1891;field_8143:Lnet/minecraft/class_1901;
      named field_8143 Lnet/minecraft/client/sound/AbstractSoundInstance;field_8143:Lnet/minecraft/client/class_1901;
  • Constructor Details

    • AbstractSoundInstance

      protected AbstractSoundInstance(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxt;<init>(Loa;)V
      intermediary <init> Lnet/minecraft/class_1891;<init>(Lnet/minecraft/class_1653;)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 Lcye;a()Loa;
      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;
    • isRepeatable

      public boolean isRepeatable()
      Specified by:
      isRepeatable in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official b Lcye;b()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 d Lcye;d()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 e Lcye;e()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 f Lcye;f()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 g Lcye;g()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 h Lcye;h()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 i Lcye;i()F
      intermediary method_7080 Lnet/minecraft/class_1900;method_7080()F
      named getZ Lnet/minecraft/client/sound/SoundInstance;getZ()F
    • method_7081

      public class_1901 method_7081()
      Specified by:
      method_7081 in interface SoundInstance
      Mappings:
      Namespace Name Mixin selector
      official j Lcye;j()Lcyf;
      intermediary method_7081 Lnet/minecraft/class_1900;method_7081()Lnet/minecraft/class_1901;
      named method_7081 Lnet/minecraft/client/sound/SoundInstance;method_7081()Lnet/minecraft/client/class_1901;