Uses of Interface
net.minecraft.client.resources.sounds.SoundInstance
Packages that use SoundInstance
Package
Description
Client-only events relating to sounds.
-
Uses of SoundInstance in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type SoundInstanceModifier and TypeMethodDescriptionvoidSubtitleOverlay.onPlaySound(SoundInstance p_94645_, WeighedSoundEvents p_94646_, float p_314721_) -
Uses of SoundInstance in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type SoundInstanceModifier and TypeFieldDescriptionprivate final Map<BlockPos, SoundInstance> LevelRenderer.playingRecords -
Uses of SoundInstance in net.minecraft.client.resources.sounds
Subinterfaces of SoundInstance in net.minecraft.client.resources.soundsClasses in net.minecraft.client.resources.sounds that implement SoundInstanceModifier and TypeClassDescriptionclassclassclassclassclassstatic classclassclassclassclassclassclassclassstatic classstatic class -
Uses of SoundInstance in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as SoundInstanceFields in net.minecraft.client.sounds with type parameters of type SoundInstanceModifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<SoundSource, SoundInstance> SoundEngine.instanceBySourceprivate final Map<SoundInstance, ChannelAccess.ChannelHandle> SoundEngine.instanceToChannelprivate final Map<SoundInstance, Integer> SoundEngine.queuedSoundsprivate final Map<SoundInstance, Integer> SoundEngine.soundDeleteTimeMethods in net.minecraft.client.sounds with parameters of type SoundInstanceModifier and TypeMethodDescriptionprivate floatSoundEngine.calculatePitch(SoundInstance p_120325_) private floatSoundEngine.calculateVolume(SoundInstance p_120328_) booleanSoundEngine.isActive(SoundInstance p_120306_) booleanSoundManager.isActive(SoundInstance p_120404_) voidSoundEventListener.onPlaySound(SoundInstance p_120342_, WeighedSoundEvents p_120343_, float p_314712_) voidSoundEngine.play(SoundInstance p_120313_) voidSoundManager.play(SoundInstance p_120368_) voidSoundEngine.playDelayed(SoundInstance p_120277_, int p_120278_) voidSoundManager.playDelayed(SoundInstance p_120370_, int p_120371_) private static booleanSoundEngine.requiresManualLooping(SoundInstance p_120316_) private static booleanSoundEngine.shouldLoopAutomatically(SoundInstance p_120322_) private static booleanSoundEngine.shouldLoopManually(SoundInstance p_120319_) voidSoundEngine.stop(SoundInstance p_120275_) voidSoundManager.stop(SoundInstance p_120400_) -
Uses of SoundInstance in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return SoundInstanceModifier and TypeMethodDescriptionstatic @Nullable SoundInstanceClientHooks.playSound(SoundEngine manager, SoundInstance sound) Methods in net.neoforged.neoforge.client with parameters of type SoundInstanceModifier and TypeMethodDescriptionstatic @Nullable SoundInstanceClientHooks.playSound(SoundEngine manager, SoundInstance sound) -
Uses of SoundInstance in net.neoforged.neoforge.client.event.sound
Fields in net.neoforged.neoforge.client.event.sound declared as SoundInstanceModifier and TypeFieldDescriptionprivate final SoundInstancePlaySoundEvent.originalSoundprivate @Nullable SoundInstancePlaySoundEvent.soundprivate final SoundInstanceSoundEvent.SoundSourceEvent.soundMethods in net.neoforged.neoforge.client.event.sound that return SoundInstanceModifier and TypeMethodDescriptionPlaySoundEvent.getOriginalSound()Returns the original sound that was to be played.@Nullable SoundInstancePlaySoundEvent.getSound()Returns the sound to be played, ornullif no sound will be played.SoundEvent.SoundSourceEvent.getSound()Returns the sound being played.Methods in net.neoforged.neoforge.client.event.sound with parameters of type SoundInstanceModifier and TypeMethodDescriptionvoidPlaySoundEvent.setSound(@Nullable SoundInstance newSound) Sets the sound to be played, which may benullto prevent any sound from being played.Constructors in net.neoforged.neoforge.client.event.sound with parameters of type SoundInstanceModifierConstructorDescriptionPlaySoundEvent(SoundEngine manager, SoundInstance sound) PlaySoundSourceEvent(SoundEngine engine, SoundInstance sound, Channel channel) PlayStreamingSourceEvent(SoundEngine engine, SoundInstance sound, Channel channel) protectedSoundSourceEvent(SoundEngine engine, SoundInstance sound, Channel channel) -
Uses of SoundInstance in net.neoforged.neoforge.debug.client
Classes in net.neoforged.neoforge.debug.client that implement SoundInstance