Package net.minecraft.client.sound
Class SoundPreviewer
java.lang.Object
net.minecraft.client.sound.SoundPreviewer
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundPreviewerintermediary net/minecraft/class_12052official ihr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static @Nullable SoundCategoryprivate static @Nullable SoundInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanPlaySound(SoundManager manager) static voidpreview(SoundManager manager, SoundCategory category, float pitch) private static voidstopPreviewOfOtherCategory(SoundManager manager, SoundCategory category)
-
Field Details
-
currentSoundPreview
- Mappings:
Namespace Name Mixin selector named currentSoundPreviewLnet/minecraft/client/sound/SoundPreviewer;currentSoundPreview:Lnet/minecraft/client/sound/SoundInstance;intermediary field_62992Lnet/minecraft/class_12052;field_62992:Lnet/minecraft/class_1113;official aLihr;a:Ligk;
-
category
- Mappings:
Namespace Name Mixin selector named categoryLnet/minecraft/client/sound/SoundPreviewer;category:Lnet/minecraft/sound/SoundCategory;intermediary field_62993Lnet/minecraft/class_12052;field_62993:Lnet/minecraft/class_3419;official bLihr;b:Lbcf;
-
-
Constructor Details
-
SoundPreviewer
public SoundPreviewer()
-
-
Method Details
-
preview
- Mappings:
Namespace Name Mixin selector named previewLnet/minecraft/client/sound/SoundPreviewer;preview(Lnet/minecraft/client/sound/SoundManager;Lnet/minecraft/sound/SoundCategory;F)Vintermediary method_74840Lnet/minecraft/class_12052;method_74840(Lnet/minecraft/class_1144;Lnet/minecraft/class_3419;F)Vofficial aLihr;a(Lihq;Lbcf;F)V
-
stopPreviewOfOtherCategory
- Mappings:
Namespace Name Mixin selector named stopPreviewOfOtherCategoryLnet/minecraft/client/sound/SoundPreviewer;stopPreviewOfOtherCategory(Lnet/minecraft/client/sound/SoundManager;Lnet/minecraft/sound/SoundCategory;)Vintermediary method_74839Lnet/minecraft/class_12052;method_74839(Lnet/minecraft/class_1144;Lnet/minecraft/class_3419;)Vofficial aLihr;a(Lihq;Lbcf;)V
-
canPlaySound
- Mappings:
Namespace Name Mixin selector named canPlaySoundLnet/minecraft/client/sound/SoundPreviewer;canPlaySound(Lnet/minecraft/client/sound/SoundManager;)Zintermediary method_74838Lnet/minecraft/class_12052;method_74838(Lnet/minecraft/class_1144;)Zofficial aLihr;a(Lihq;)Z
-