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
official dpv$b
intermediary net/minecraft/class_4225$class_4226
named net/minecraft/client/sound/SoundEngine$SourceSetImpl
  • Field Details

    • maxSourceCount

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

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

    • SourceSetImpl

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

    • createSource

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

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

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

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

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