Uses of Class
net.minecraft.client.sounds.SoundEngine
Packages that use SoundEngine
Package
Description
Client-only events relating to sounds.
-
Uses of SoundEngine in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds with parameters of type SoundEngineModifier and TypeMethodDescriptionvoid
Sound.preloadIfRequired
(SoundEngine pEngine) Preloads the sound if required by the sound engine. -
Uses of SoundEngine in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as SoundEngineMethods in net.minecraft.client.sounds with parameters of type SoundEngineModifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> pSoundRegistry, Map<ResourceLocation, Resource> pCache, SoundEngine pSoundEngine) Applies the prepared sound event registrations and caches to the sound manager.void
WeighedSoundEvents.preloadIfRequired
(SoundEngine pEngine) Preloads the sound events into the sound engine if required.void
Weighted.preloadIfRequired
(SoundEngine pEngine) Preloads the sound if required by the sound engine. -
Uses of SoundEngine in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type SoundEngineModifier and TypeMethodDescriptionstatic @Nullable SoundInstance
ClientHooks.playSound
(SoundEngine manager, SoundInstance sound) -
Uses of SoundEngine in net.neoforged.neoforge.client.event.sound
Fields in net.neoforged.neoforge.client.event.sound declared as SoundEngineMethods in net.neoforged.neoforge.client.event.sound that return SoundEngineConstructors in net.neoforged.neoforge.client.event.sound with parameters of type SoundEngineModifierConstructorDescriptionPlaySoundEvent
(SoundEngine manager, SoundInstance sound) PlaySoundSourceEvent
(SoundEngine engine, SoundInstance sound, Channel channel) PlayStreamingSourceEvent
(SoundEngine engine, SoundInstance sound, Channel channel) SoundEngineLoadEvent
(SoundEngine manager) protected
SoundEvent
(SoundEngine engine) protected
SoundSourceEvent
(SoundEngine engine, SoundInstance sound, Channel channel)