Class SoundEngine.SourceSetImpl

java.lang.Object
net.minecraft.client.sound.SoundEngine.SourceSetImpl
All Implemented Interfaces:
SoundEngine.SourceSet
Enclosing class:
SoundEngine

@Environment(CLIENT) private static class SoundEngine.SourceSetImpl extends Object implements SoundEngine.SourceSet
Mappings:
Namespace Name
named net/minecraft/client/sound/SoundEngine$SourceSetImpl
intermediary net/minecraft/class_4225$class_4226
official exw$b
  • Field Details

    • maxSourceCount

      private final int maxSourceCount
      Mappings:
      Namespace Name Mixin selector
      named maxSourceCount Lnet/minecraft/client/sound/SoundEngine$SourceSetImpl;maxSourceCount:I
      intermediary field_18903 Lnet/minecraft/class_4225$class_4226;field_18903:I
      official a Lexw$b;a:I
    • sources

      private final Set<Source> sources
      Mappings:
      Namespace Name Mixin selector
      named sources Lnet/minecraft/client/sound/SoundEngine$SourceSetImpl;sources:Ljava/util/Set;
      intermediary field_18904 Lnet/minecraft/class_4225$class_4226;field_18904:Ljava/util/Set;
      official b Lexw$b;b:Ljava/util/Set;
  • Constructor Details

    • SourceSetImpl

      public SourceSetImpl(int maxSourceCount)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/SoundEngine$SourceSetImpl;<init>(I)V
      intermediary <init> Lnet/minecraft/class_4225$class_4226;<init>(I)V
      official <init> Lexw$b;<init>(I)V
  • Method Details

    • createSource

      @Nullable public @Nullable Source createSource()
      Specified by:
      createSource in interface SoundEngine.SourceSet
      Mappings:
      Namespace Name Mixin selector
      named createSource Lnet/minecraft/client/sound/SoundEngine$SourceSet;createSource()Lnet/minecraft/client/sound/Source;
      intermediary method_19666 Lnet/minecraft/class_4225$class_4276;method_19666()Lnet/minecraft/class_4224;
      official a Lexw$a;a()Lexv;
    • release

      public boolean release(Source source)
      Specified by:
      release in interface SoundEngine.SourceSet
      Mappings:
      Namespace Name Mixin selector
      named release Lnet/minecraft/client/sound/SoundEngine$SourceSet;release(Lnet/minecraft/client/sound/Source;)Z
      intermediary method_19667 Lnet/minecraft/class_4225$class_4276;method_19667(Lnet/minecraft/class_4224;)Z
      official a Lexw$a;a(Lexv;)Z
    • close

      public void close()
      Specified by:
      close in interface SoundEngine.SourceSet
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/sound/SoundEngine$SourceSet;close()V
      intermediary method_19668 Lnet/minecraft/class_4225$class_4276;method_19668()V
      official b Lexw$a;b()V
    • getMaxSourceCount

      public int getMaxSourceCount()
      Specified by:
      getMaxSourceCount in interface SoundEngine.SourceSet
      Mappings:
      Namespace Name Mixin selector
      named getMaxSourceCount Lnet/minecraft/client/sound/SoundEngine$SourceSet;getMaxSourceCount()I
      intermediary method_20298 Lnet/minecraft/class_4225$class_4276;method_20298()I
      official c Lexw$a;c()I
    • getSourceCount

      public int getSourceCount()
      Specified by:
      getSourceCount in interface SoundEngine.SourceSet
      Mappings:
      Namespace Name Mixin selector
      named getSourceCount Lnet/minecraft/client/sound/SoundEngine$SourceSet;getSourceCount()I
      intermediary method_20299 Lnet/minecraft/class_4225$class_4276;method_20299()I
      official d Lexw$a;d()I