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 pSound, WeighedSoundEvents pAccessor, float pRange) -
Uses of WeighedSoundEvents in net.minecraft.client.resources.sounds
Methods in net.minecraft.client.resources.sounds that return WeighedSoundEventsModifier and TypeMethodDescriptionAbstractSoundInstance.resolve
(SoundManager pHandler) SoundInstance.resolve
(SoundManager pManager) -
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 pLocation) 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 pSound, WeighedSoundEvents pAccessor, float pRange) Method parameters in net.minecraft.client.sounds with type arguments of type WeighedSoundEventsModifier 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.