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 TypeMethodDescriptionvoid
SubtitleOverlay.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 TypeClassDescriptionclass
class
class
class
class
static class
class
class
class
class
class
class
class
static class
static 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.instanceBySource
private final Map<SoundInstance,
ChannelAccess.ChannelHandle> SoundEngine.instanceToChannel
private final Map<SoundInstance,
Integer> SoundEngine.queuedSounds
private final Map<SoundInstance,
Integer> SoundEngine.soundDeleteTime
Methods in net.minecraft.client.sounds with parameters of type SoundInstanceModifier and TypeMethodDescriptionprivate float
SoundEngine.calculatePitch
(SoundInstance p_120325_) private float
SoundEngine.calculateVolume
(SoundInstance p_120328_) boolean
SoundEngine.isActive
(SoundInstance p_120306_) boolean
SoundManager.isActive
(SoundInstance p_120404_) void
SoundEventListener.onPlaySound
(SoundInstance p_120342_, WeighedSoundEvents p_120343_, float p_314712_) void
SoundEngine.play
(SoundInstance p_120313_) void
SoundManager.play
(SoundInstance p_120368_) void
SoundEngine.playDelayed
(SoundInstance p_120277_, int p_120278_) void
SoundManager.playDelayed
(SoundInstance p_120370_, int p_120371_) private static boolean
SoundEngine.requiresManualLooping
(SoundInstance p_120316_) private static boolean
SoundEngine.shouldLoopAutomatically
(SoundInstance p_120322_) private static boolean
SoundEngine.shouldLoopManually
(SoundInstance p_120319_) void
SoundEngine.stop
(SoundInstance p_120275_) void
SoundManager.stop
(SoundInstance p_120400_) -
Uses of SoundInstance in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return SoundInstanceModifier and TypeMethodDescriptionstatic @Nullable SoundInstance
ClientHooks.playSound
(SoundEngine manager, SoundInstance sound) Methods in net.neoforged.neoforge.client with parameters of type SoundInstanceModifier and TypeMethodDescriptionstatic @Nullable SoundInstance
ClientHooks.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 SoundInstance
PlaySoundEvent.originalSound
private @Nullable SoundInstance
PlaySoundEvent.sound
private final SoundInstance
SoundEvent.SoundSourceEvent.sound
Methods in net.neoforged.neoforge.client.event.sound that return SoundInstanceModifier and TypeMethodDescriptionPlaySoundEvent.getOriginalSound()
Returns the original sound that was to be played.@Nullable SoundInstance
PlaySoundEvent.getSound()
Returns the sound to be played, ornull
if 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 TypeMethodDescriptionvoid
PlaySoundEvent.setSound
(@Nullable SoundInstance newSound) Sets the sound to be played, which may benull
to 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) protected
SoundSourceEvent
(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