Package net.minecraft.client.sound
Class SoundEngine.SourceSetImpl
java.lang.Object
net.minecraft.client.sound.SoundEngine.SourceSetImpl
- All Implemented Interfaces:
SoundEngine.SourceSet
- Enclosing class:
- SoundEngine
@Environment(CLIENT) static class SoundEngine.SourceSetImpl extends Object implements SoundEngine.SourceSet
- Mappings:
Namespace Name official dka$b
intermediary net/minecraft/class_4225$class_4226
named net/minecraft/client/sound/SoundEngine$SourceSetImpl
-
Field Summary
Fields Modifier and Type Field Description private int
maxSourceCount
private Set<Source>
sources
-
Constructor Summary
Constructors Constructor Description SourceSetImpl(int maxSourceCount)
-
Method Summary
Modifier and Type Method Description void
close()
Source
createSource()
int
getMaxSourceCount()
int
getSourceCount()
boolean
release(Source source)
-
Field Details
-
maxSourceCount
private final int maxSourceCount- Mappings:
Namespace Name Mixin selector official a
Ldka$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
- Mappings:
Namespace Name Mixin selector official b
Ldka$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>
Ldka$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
- Specified by:
createSource
in interfaceSoundEngine.SourceSet
- Mappings:
Namespace Name Mixin selector official a
Ldka$a;a()Ldjz;
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
- Specified by:
release
in interfaceSoundEngine.SourceSet
- Mappings:
Namespace Name Mixin selector official a
Ldka$a;a(Ldjz;)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 interfaceSoundEngine.SourceSet
- Mappings:
Namespace Name Mixin selector official b
Ldka$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 interfaceSoundEngine.SourceSet
- Mappings:
Namespace Name Mixin selector official c
Ldka$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 interfaceSoundEngine.SourceSet
- Mappings:
Namespace Name Mixin selector official d
Ldka$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
-