Package net.minecraft.client.sound
Class StaticSound
java.lang.Object
net.minecraft.client.sound.StaticSound
- Mappings:
Namespace Name official don
intermediary net/minecraft/class_4231
named net/minecraft/client/sound/StaticSound
-
Field Summary
Modifier and TypeFieldDescriptionprivate AudioFormat
private boolean
private @Nullable ByteBuffer
private int
-
Constructor Summary
-
Method Summary
-
Field Details
-
sample
- Mappings:
Namespace Name Mixin selector official a
Ldon;a:Ljava/nio/ByteBuffer;
intermediary field_18916
Lnet/minecraft/class_4231;field_18916:Ljava/nio/ByteBuffer;
named sample
Lnet/minecraft/client/sound/StaticSound;sample:Ljava/nio/ByteBuffer;
-
format
- Mappings:
Namespace Name Mixin selector official b
Ldon;b:Ljavax/sound/sampled/AudioFormat;
intermediary field_18917
Lnet/minecraft/class_4231;field_18917:Ljavax/sound/sampled/AudioFormat;
named format
Lnet/minecraft/client/sound/StaticSound;format:Ljavax/sound/sampled/AudioFormat;
-
hasBuffer
private boolean hasBuffer- Mappings:
Namespace Name Mixin selector official c
Ldon;c:Z
intermediary field_18918
Lnet/minecraft/class_4231;field_18918:Z
named hasBuffer
Lnet/minecraft/client/sound/StaticSound;hasBuffer:Z
-
streamBufferPointer
private int streamBufferPointer- Mappings:
Namespace Name Mixin selector official d
Ldon;d:I
intermediary field_18919
Lnet/minecraft/class_4231;field_18919:I
named streamBufferPointer
Lnet/minecraft/client/sound/StaticSound;streamBufferPointer:I
-
-
Constructor Details
-
StaticSound
- Mappings:
Namespace Name Mixin selector official <init>
Ldon;<init>(Ljava/nio/ByteBuffer;Ljavax/sound/sampled/AudioFormat;)V
intermediary <init>
Lnet/minecraft/class_4231;<init>(Ljava/nio/ByteBuffer;Ljavax/sound/sampled/AudioFormat;)V
named <init>
Lnet/minecraft/client/sound/StaticSound;<init>(Ljava/nio/ByteBuffer;Ljavax/sound/sampled/AudioFormat;)V
-
-
Method Details
-
getStreamBufferPointer
OptionalInt getStreamBufferPointer()- Mappings:
Namespace Name Mixin selector official a
Ldon;a()Ljava/util/OptionalInt;
intermediary method_19686
Lnet/minecraft/class_4231;method_19686()Ljava/util/OptionalInt;
named getStreamBufferPointer
Lnet/minecraft/client/sound/StaticSound;getStreamBufferPointer()Ljava/util/OptionalInt;
-
close
public void close()- Mappings:
Namespace Name Mixin selector official b
Ldon;b()V
intermediary method_19687
Lnet/minecraft/class_4231;method_19687()V
named close
Lnet/minecraft/client/sound/StaticSound;close()V
-
takeStreamBufferPointer
- Mappings:
Namespace Name Mixin selector official c
Ldon;c()Ljava/util/OptionalInt;
intermediary method_19688
Lnet/minecraft/class_4231;method_19688()Ljava/util/OptionalInt;
named takeStreamBufferPointer
Lnet/minecraft/client/sound/StaticSound;takeStreamBufferPointer()Ljava/util/OptionalInt;
-