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 brv
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 Lbrv;a:Lbqm;
      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 Lbrv;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 Lbrv;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 Lbrv;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 Lbrv;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 Lbrv;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 Lbrv;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 Lbrv;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 Lbrv;i:Lbsf;
      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> Lbrv;<init>(Lbqm;)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 b Lbse;b()Lbqm;
      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 c Lbse;c()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 Lbse;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 Lbse;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 Lbse;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 Lbse;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 Lbse;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 Lbse;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 Lbse;j()Lbsf;
      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;