Uses of Class
net.minecraft.client.sounds.WeighedSoundEvents
Packages that use WeighedSoundEvents
Package
Description
-
Uses of WeighedSoundEvents in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type WeighedSoundEventsModifier and TypeMethodDescriptionvoid
SubtitleOverlay.onPlaySound
(SoundInstance sound, WeighedSoundEvents accessor, float range) -
Uses of WeighedSoundEvents in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds that return WeighedSoundEventsModifier and TypeMethodDescriptionAbstractSoundInstance.resolve
(SoundManager handler) SoundInstance.resolve
(SoundManager manager) -
Uses of WeighedSoundEvents in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as WeighedSoundEventsModifier and TypeFieldDescriptionstatic final WeighedSoundEvents
SoundManager.INTENTIONALLY_EMPTY_SOUND_EVENT
Fields in net.minecraft.client.sounds with type parameters of type WeighedSoundEventsModifier and TypeFieldDescription(package private) final Map
<ResourceLocation, WeighedSoundEvents> SoundManager.Preparations.registry
private final Map
<ResourceLocation, WeighedSoundEvents> SoundManager.registry
Methods in net.minecraft.client.sounds that return WeighedSoundEventsModifier and TypeMethodDescriptionSoundManager.getSoundEvent
(ResourceLocation location) Returns The sound event associated with the specific ResourceLocation, ornull
if not found.Methods in net.minecraft.client.sounds with parameters of type WeighedSoundEventsModifier and TypeMethodDescriptionvoid
SoundEventListener.onPlaySound
(SoundInstance sound, WeighedSoundEvents accessor, float range) Method parameters in net.minecraft.client.sounds with type arguments of type WeighedSoundEventsModifier and TypeMethodDescriptionvoid
SoundManager.Preparations.apply
(Map<ResourceLocation, WeighedSoundEvents> soundRegistry, Map<ResourceLocation, Resource> cache, SoundEngine soundEngine) Applies the prepared sound event registrations and caches to the sound manager.