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$bintermediary net/minecraft/class_4225$class_4226named net/minecraft/client/sound/SoundEngine$SourceSetImpl
-
Field Summary
Fields Modifier and Type Field Description private intmaxSourceCountprivate Set<Source>sources -
Constructor Summary
Constructors Constructor Description SourceSetImpl(int maxSourceCount) -
Method Summary
Modifier and Type Method Description voidclose()SourcecreateSource()intgetMaxSourceCount()intgetSourceCount()booleanrelease(Source source)
-
Field Details
-
maxSourceCount
private final int maxSourceCount- Mappings:
Namespace Name Mixin selector official aLdka$b;a:Iintermediary field_18903Lnet/minecraft/class_4225$class_4226;field_18903:Inamed maxSourceCountLnet/minecraft/client/sound/SoundEngine$SourceSetImpl;maxSourceCount:I
-
sources
- Mappings:
Namespace Name Mixin selector official bLdka$b;b:Ljava/util/Set;intermediary field_18904Lnet/minecraft/class_4225$class_4226;field_18904:Ljava/util/Set;named sourcesLnet/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)Vintermediary <init>Lnet/minecraft/class_4225$class_4226;<init>(I)Vnamed <init>Lnet/minecraft/client/sound/SoundEngine$SourceSetImpl;<init>(I)V
-
-
Method Details
-
createSource
- Specified by:
createSourcein interfaceSoundEngine.SourceSet- Mappings:
Namespace Name Mixin selector official aLdka$a;a()Ldjz;intermediary method_19666Lnet/minecraft/class_4225$class_4276;method_19666()Lnet/minecraft/class_4224;named createSourceLnet/minecraft/client/sound/SoundEngine$SourceSet;createSource()Lnet/minecraft/client/sound/Source;
-
release
- Specified by:
releasein interfaceSoundEngine.SourceSet- Mappings:
Namespace Name Mixin selector official aLdka$a;a(Ldjz;)Zintermediary method_19667Lnet/minecraft/class_4225$class_4276;method_19667(Lnet/minecraft/class_4224;)Znamed releaseLnet/minecraft/client/sound/SoundEngine$SourceSet;release(Lnet/minecraft/client/sound/Source;)Z
-
close
public void close()- Specified by:
closein interfaceSoundEngine.SourceSet- Mappings:
Namespace Name Mixin selector official bLdka$a;b()Vintermediary method_19668Lnet/minecraft/class_4225$class_4276;method_19668()Vnamed closeLnet/minecraft/client/sound/SoundEngine$SourceSet;close()V
-
getMaxSourceCount
public int getMaxSourceCount()- Specified by:
getMaxSourceCountin interfaceSoundEngine.SourceSet- Mappings:
Namespace Name Mixin selector official cLdka$a;c()Iintermediary method_20298Lnet/minecraft/class_4225$class_4276;method_20298()Inamed getMaxSourceCountLnet/minecraft/client/sound/SoundEngine$SourceSet;getMaxSourceCount()I
-
getSourceCount
public int getSourceCount()- Specified by:
getSourceCountin interfaceSoundEngine.SourceSet- Mappings:
Namespace Name Mixin selector official dLdka$a;d()Iintermediary method_20299Lnet/minecraft/class_4225$class_4276;method_20299()Inamed getSourceCountLnet/minecraft/client/sound/SoundEngine$SourceSet;getSourceCount()I
-