Uses of Class
net.minecraft.client.resources.sounds.Sound
Packages that use Sound
-
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 p_235143_) private SoundSoundEventRegistrationSerializer.getSound(JsonObject pObject) SoundInstance.getSound()Methods in net.minecraft.client.resources.sounds that return types with arguments of type SoundModifier and TypeMethodDescriptionSoundEventRegistration.getSounds()SoundEventRegistrationSerializer.getSounds(JsonObject pObject) 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 SoundSoundManager.EMPTY_SOUNDstatic final SoundSoundManager.INTENTIONALLY_EMPTY_SOUNDFields in net.minecraft.client.sounds with type parameters of type SoundMethods in net.minecraft.client.sounds that return SoundModifier and TypeMethodDescriptionWeighedSoundEvents.getSound(RandomSource p_235265_) 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 TypeMethodDescriptionvoidSoundEngine.requestPreload(Sound pSound) Requests a specific Sound instance to be preloaded.(package private) static booleanSoundManager.validateSoundResource(Sound pSound, ResourceLocation pLocation, ResourceProvider pResourceProvider) Validates a sound resourceMethod parameters in net.minecraft.client.sounds with type arguments of type SoundModifier and TypeMethodDescriptionvoidAdds a sound event to the collection.SoundBufferLibrary.preload(Collection<Sound> pSounds) Preloads the SoundBuffer objects for the specified collection of sounds.