Package net.minecraft.client.sound
Class RepeatingAudioStream
java.lang.Object
net.minecraft.client.sound.RepeatingAudioStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
- Mappings:
Namespace Name named net/minecraft/client/sound/RepeatingAudioStream
intermediary net/minecraft/class_4856
official gtr
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate AudioStream
private final RepeatingAudioStream.DelegateFactory
private final BufferedInputStream
-
Constructor Summary
ConstructorDescriptionRepeatingAudioStream
(RepeatingAudioStream.DelegateFactory delegateFactory, InputStream inputStream) -
Method Summary
-
Field Details
-
delegateFactory
- Mappings:
Namespace Name Mixin selector named delegateFactory
Lnet/minecraft/client/sound/RepeatingAudioStream;delegateFactory:Lnet/minecraft/client/sound/RepeatingAudioStream$DelegateFactory;
intermediary field_22443
Lnet/minecraft/class_4856;field_22443:Lnet/minecraft/class_4856$class_4857;
official a
Lgtr;a:Lgtr$a;
-
delegate
- Mappings:
Namespace Name Mixin selector named delegate
Lnet/minecraft/client/sound/RepeatingAudioStream;delegate:Lnet/minecraft/client/sound/AudioStream;
intermediary field_22444
Lnet/minecraft/class_4856;field_22444:Lnet/minecraft/class_4234;
official b
Lgtr;b:Lgtl;
-
inputStream
- Mappings:
Namespace Name Mixin selector named inputStream
Lnet/minecraft/client/sound/RepeatingAudioStream;inputStream:Ljava/io/BufferedInputStream;
intermediary field_22445
Lnet/minecraft/class_4856;field_22445:Ljava/io/BufferedInputStream;
official c
Lgtr;c:Ljava/io/BufferedInputStream;
-
-
Constructor Details
-
RepeatingAudioStream
public RepeatingAudioStream(RepeatingAudioStream.DelegateFactory delegateFactory, InputStream inputStream) throws IOException - Throws:
IOException
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/sound/RepeatingAudioStream;<init>(Lnet/minecraft/client/sound/RepeatingAudioStream$DelegateFactory;Ljava/io/InputStream;)V
intermediary <init>
Lnet/minecraft/class_4856;<init>(Lnet/minecraft/class_4856$class_4857;Ljava/io/InputStream;)V
official <init>
Lgtr;<init>(Lgtr$a;Ljava/io/InputStream;)V
-
-
Method Details
-
getFormat
- Specified by:
getFormat
in interfaceAudioStream
- Mappings:
Namespace Name Mixin selector named getFormat
Lnet/minecraft/client/sound/AudioStream;getFormat()Ljavax/sound/sampled/AudioFormat;
intermediary method_19719
Lnet/minecraft/class_4234;method_19719()Ljavax/sound/sampled/AudioFormat;
official a
Lgtl;a()Ljavax/sound/sampled/AudioFormat;
-
read
- Specified by:
read
in interfaceAudioStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/client/sound/AudioStream;read(I)Ljava/nio/ByteBuffer;
intermediary method_19720
Lnet/minecraft/class_4234;method_19720(I)Ljava/nio/ByteBuffer;
official a
Lgtl;a(I)Ljava/nio/ByteBuffer;
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-