Package net.minecraft.client.sound
Class Source
java.lang.Object
net.minecraft.client.sound.Source
- Mappings:
- Namespace - Name - named - net/minecraft/client/sound/Source- intermediary - net/minecraft/class_4224- official - fdh
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intstatic final intprivate static final intprivate static final Loggerprivate final AtomicBooleanprivate final intprivate @Nullable AudioStream
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()create()voidprivate static intgetBufferSize(AudioFormat format, int time) private intbooleanbooleanvoidpause()voidplay()private voidread(int count) private intvoidresume()voidsetAttenuation(float attenuation) voidsetBuffer(StaticSound sound) voidsetLooping(boolean looping) voidsetPitch(float pitch) voidsetPosition(Vec3d pos) voidsetRelative(boolean relative) voidsetStream(AudioStream stream) voidsetVolume(float volume) voidstop()voidtick()
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/client/sound/Source;LOGGER:Lorg/slf4j/Logger;- intermediary - field_18892- Lnet/minecraft/class_4224;field_18892:Lorg/slf4j/Logger;- official - b- Lfdh;b:Lorg/slf4j/Logger;
 
- 
field_31895private static final int field_31895- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_31895- Lnet/minecraft/client/sound/Source;field_31895:I- intermediary - field_31895- Lnet/minecraft/class_4224;field_31895:I- official - c- Lfdh;c:I
 
- 
field_31894public static final int field_31894- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_31894- Lnet/minecraft/client/sound/Source;field_31894:I- intermediary - field_31894- Lnet/minecraft/class_4224;field_31894:I- official - a- Lfdh;a:I
 
- 
pointerprivate final int pointer- Mappings:
- Namespace - Name - Mixin selector - named - pointer- Lnet/minecraft/client/sound/Source;pointer:I- intermediary - field_18893- Lnet/minecraft/class_4224;field_18893:I- official - d- Lfdh;d:I
 
- 
playing- Mappings:
- Namespace - Name - Mixin selector - named - playing- Lnet/minecraft/client/sound/Source;playing:Ljava/util/concurrent/atomic/AtomicBoolean;- intermediary - field_18894- Lnet/minecraft/class_4224;field_18894:Ljava/util/concurrent/atomic/AtomicBoolean;- official - e- Lfdh;e:Ljava/util/concurrent/atomic/AtomicBoolean;
 
- 
bufferSizeprivate int bufferSize- Mappings:
- Namespace - Name - Mixin selector - named - bufferSize- Lnet/minecraft/client/sound/Source;bufferSize:I- intermediary - field_18895- Lnet/minecraft/class_4224;field_18895:I- official - f- Lfdh;f:I
 
- 
stream- Mappings:
- Namespace - Name - Mixin selector - named - stream- Lnet/minecraft/client/sound/Source;stream:Lnet/minecraft/client/sound/AudioStream;- intermediary - field_18896- Lnet/minecraft/class_4224;field_18896:Lnet/minecraft/class_4234;- official - g- Lfdh;g:Lhjj;
 
 
- 
- 
Constructor Details- 
Sourceprivate Source(int pointer) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/sound/Source;<init>(I)V- intermediary - <init>- Lnet/minecraft/class_4224;<init>(I)V- official - <init>- Lfdh;<init>(I)V
 
 
- 
- 
Method Details- 
create- Mappings:
- Namespace - Name - Mixin selector - named - create- Lnet/minecraft/client/sound/Source;create()Lnet/minecraft/client/sound/Source;- intermediary - method_19638- Lnet/minecraft/class_4224;method_19638()Lnet/minecraft/class_4224;- official - a- Lfdh;a()Lfdh;
 
- 
closepublic void close()- Mappings:
- Namespace - Name - Mixin selector - named - close- Lnet/minecraft/client/sound/Source;close()V- intermediary - method_19646- Lnet/minecraft/class_4224;method_19646()V- official - b- Lfdh;b()V
 
- 
playpublic void play()- Mappings:
- Namespace - Name - Mixin selector - named - play- Lnet/minecraft/client/sound/Source;play()V- intermediary - method_19650- Lnet/minecraft/class_4224;method_19650()V- official - c- Lfdh;c()V
 
- 
getSourceStateprivate int getSourceState()- Mappings:
- Namespace - Name - Mixin selector - named - getSourceState- Lnet/minecraft/client/sound/Source;getSourceState()I- intermediary - method_19659- Lnet/minecraft/class_4224;method_19659()I- official - k- Lfdh;k()I
 
- 
pausepublic void pause()- Mappings:
- Namespace - Name - Mixin selector - named - pause- Lnet/minecraft/client/sound/Source;pause()V- intermediary - method_19653- Lnet/minecraft/class_4224;method_19653()V- official - d- Lfdh;d()V
 
- 
resumepublic void resume()- Mappings:
- Namespace - Name - Mixin selector - named - resume- Lnet/minecraft/client/sound/Source;resume()V- intermediary - method_19654- Lnet/minecraft/class_4224;method_19654()V- official - e- Lfdh;e()V
 
- 
stoppublic void stop()- Mappings:
- Namespace - Name - Mixin selector - named - stop- Lnet/minecraft/client/sound/Source;stop()V- intermediary - method_19655- Lnet/minecraft/class_4224;method_19655()V- official - f- Lfdh;f()V
 
- 
isPlayingpublic boolean isPlaying()- Mappings:
- Namespace - Name - Mixin selector - named - isPlaying- Lnet/minecraft/client/sound/Source;isPlaying()Z- intermediary - method_35598- Lnet/minecraft/class_4224;method_35598()Z- official - g- Lfdh;g()Z
 
- 
isStoppedpublic boolean isStopped()- Mappings:
- Namespace - Name - Mixin selector - named - isStopped- Lnet/minecraft/client/sound/Source;isStopped()Z- intermediary - method_19656- Lnet/minecraft/class_4224;method_19656()Z- official - h- Lfdh;h()Z
 
- 
setPosition- Mappings:
- Namespace - Name - Mixin selector - named - setPosition- Lnet/minecraft/client/sound/Source;setPosition(Lnet/minecraft/util/math/Vec3d;)V- intermediary - method_19641- Lnet/minecraft/class_4224;method_19641(Lnet/minecraft/class_243;)V- official - a- Lfdh;a(Lfbb;)V
 
- 
setPitchpublic void setPitch(float pitch) - Mappings:
- Namespace - Name - Mixin selector - named - setPitch- Lnet/minecraft/client/sound/Source;setPitch(F)V- intermediary - method_19639- Lnet/minecraft/class_4224;method_19639(F)V- official - a- Lfdh;a(F)V
 
- 
setLoopingpublic void setLooping(boolean looping) - Mappings:
- Namespace - Name - Mixin selector - named - setLooping- Lnet/minecraft/client/sound/Source;setLooping(Z)V- intermediary - method_19645- Lnet/minecraft/class_4224;method_19645(Z)V- official - a- Lfdh;a(Z)V
 
- 
setVolumepublic void setVolume(float volume) - Mappings:
- Namespace - Name - Mixin selector - named - setVolume- Lnet/minecraft/client/sound/Source;setVolume(F)V- intermediary - method_19647- Lnet/minecraft/class_4224;method_19647(F)V- official - b- Lfdh;b(F)V
 
- 
disableAttenuationpublic void disableAttenuation()- Mappings:
- Namespace - Name - Mixin selector - named - disableAttenuation- Lnet/minecraft/client/sound/Source;disableAttenuation()V- intermediary - method_19657- Lnet/minecraft/class_4224;method_19657()V- official - i- Lfdh;i()V
 
- 
setAttenuationpublic void setAttenuation(float attenuation) - Mappings:
- Namespace - Name - Mixin selector - named - setAttenuation- Lnet/minecraft/client/sound/Source;setAttenuation(F)V- intermediary - method_19651- Lnet/minecraft/class_4224;method_19651(F)V- official - c- Lfdh;c(F)V
 
- 
setRelativepublic void setRelative(boolean relative) - Mappings:
- Namespace - Name - Mixin selector - named - setRelative- Lnet/minecraft/client/sound/Source;setRelative(Z)V- intermediary - method_19649- Lnet/minecraft/class_4224;method_19649(Z)V- official - b- Lfdh;b(Z)V
 
- 
setBuffer- Mappings:
- Namespace - Name - Mixin selector - named - setBuffer- Lnet/minecraft/client/sound/Source;setBuffer(Lnet/minecraft/client/sound/StaticSound;)V- intermediary - method_19642- Lnet/minecraft/class_4224;method_19642(Lnet/minecraft/class_4231;)V- official - a- Lfdh;a(Lfdm;)V
 
- 
setStream- Mappings:
- Namespace - Name - Mixin selector - named - setStream- Lnet/minecraft/client/sound/Source;setStream(Lnet/minecraft/client/sound/AudioStream;)V- intermediary - method_19643- Lnet/minecraft/class_4224;method_19643(Lnet/minecraft/class_4234;)V- official - a- Lfdh;a(Lhjj;)V
 
- 
getBufferSize- Mappings:
- Namespace - Name - Mixin selector - named - getBufferSize- Lnet/minecraft/client/sound/Source;getBufferSize(Ljavax/sound/sampled/AudioFormat;I)I- intermediary - method_19644- Lnet/minecraft/class_4224;method_19644(Ljavax/sound/sampled/AudioFormat;I)I- official - a- Lfdh;a(Ljavax/sound/sampled/AudioFormat;I)I
 
- 
readprivate void read(int count) - Mappings:
- Namespace - Name - Mixin selector - named - read- Lnet/minecraft/client/sound/Source;read(I)V- intermediary - method_19640- Lnet/minecraft/class_4224;method_19640(I)V- official - a- Lfdh;a(I)V
 
- 
tickpublic void tick()- Mappings:
- Namespace - Name - Mixin selector - named - tick- Lnet/minecraft/client/sound/Source;tick()V- intermediary - method_19658- Lnet/minecraft/class_4224;method_19658()V- official - j- Lfdh;j()V
 
- 
removeProcessedBuffersprivate int removeProcessedBuffers()- Mappings:
- Namespace - Name - Mixin selector - named - removeProcessedBuffers- Lnet/minecraft/client/sound/Source;removeProcessedBuffers()I- intermediary - method_19660- Lnet/minecraft/class_4224;method_19660()I- official - l- Lfdh;l()I
 
 
-