Uses of Class
net.minecraft.client.resources.sounds.Sound
Packages that use Sound
Package
Description
-
Uses of Sound in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as SoundFields in net.minecraft.client.resources.sounds with type parameters of type SoundMethods in net.minecraft.client.resources.sounds that return SoundModifier and TypeMethodDescriptionAbstractSoundInstance.getSound()
Sound.getSound
(RandomSource pRandomSource) Retrieves the sound associated with the element.private Sound
SoundEventRegistrationSerializer.getSound
(com.google.gson.JsonObject p_119836_) SoundInstance.getSound()
Methods in net.minecraft.client.resources.sounds that return types with arguments of type SoundModifier and TypeMethodDescriptionSoundEventRegistration.getSounds()
SoundEventRegistrationSerializer.getSounds
(com.google.gson.JsonObject p_119831_) Methods in net.minecraft.client.resources.sounds with parameters of type SoundModifier and TypeMethodDescriptiondefault CompletableFuture
<AudioStream> SoundInstance.getStream
(SoundBufferLibrary soundBuffers, Sound sound, boolean looping) Constructor parameters in net.minecraft.client.resources.sounds with type arguments of type SoundModifierConstructorDescriptionSoundEventRegistration
(List<Sound> pSounds, boolean pReplace, String pSubtitle) -
Uses of Sound in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds declared as SoundModifier and TypeFieldDescriptionstatic final Sound
SoundManager.EMPTY_SOUND
static final Sound
SoundManager.INTENTIONALLY_EMPTY_SOUND
Fields in net.minecraft.client.sounds with type parameters of type SoundMethods in net.minecraft.client.sounds that return SoundModifier and TypeMethodDescriptionWeighedSoundEvents.getSound
(RandomSource pRandomSource) Retrieves a randomly selected sound from the sound events based on their weights.Methods in net.minecraft.client.sounds with parameters of type SoundModifier and TypeMethodDescriptionvoid
SoundEngine.requestPreload
(Sound pSound) Requests a specific Sound instance to be preloaded.(package private) static boolean
SoundManager.validateSoundResource
(Sound pSound, ResourceLocation pLocation, ResourceProvider pResourceProvider) Validates a sound resourceMethod parameters in net.minecraft.client.sounds with type arguments of type SoundModifier and TypeMethodDescriptionvoid
Adds a sound event to the collection.SoundBufferLibrary.preload
(Collection<Sound> pSounds) Preloads the SoundBuffer objects for the specified collection of sounds. -
Uses of Sound in net.neoforged.neoforge.debug.client
Methods in net.neoforged.neoforge.debug.client with parameters of type SoundModifier and TypeMethodDescriptionClientTests.SineSound.getStream
(SoundBufferLibrary soundBuffers, Sound sound, boolean looping)