Uses of Interface
net.minecraft.client.resources.sounds.SoundInstance
Package
Description
Client-only events relating to sounds.
-
Uses of SoundInstance in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionvoid
SubtitleOverlay.onPlaySound
(SoundInstance p_94645_, WeighedSoundEvents p_94646_) -
Uses of SoundInstance in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final Map<BlockPos,
SoundInstance> LevelRenderer.playingRecords
-
Uses of SoundInstance in net.minecraft.client.resources.sounds
Modifier 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
Modifier 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
Modifier 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_) 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
Modifier and TypeMethodDescriptionstatic @Nullable SoundInstance
ClientHooks.playSound
(SoundEngine manager, SoundInstance sound) Modifier and TypeMethodDescriptionstatic @Nullable SoundInstance
ClientHooks.playSound
(SoundEngine manager, SoundInstance sound) -
Uses of SoundInstance in net.neoforged.neoforge.client.event.sound
Modifier and TypeFieldDescriptionprivate final SoundInstance
PlaySoundEvent.originalSound
private @Nullable SoundInstance
PlaySoundEvent.sound
private final SoundInstance
SoundEvent.SoundSourceEvent.sound
Modifier 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.Modifier and TypeMethodDescriptionvoid
PlaySoundEvent.setSound
(@Nullable SoundInstance newSound) Sets the sound to be played, which may benull
to prevent any sound from being played.ModifierConstructorDescriptionPlaySoundEvent
(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