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 randomSource) Retrieves the sound associated with the element.private SoundSoundEventRegistrationSerializer.getSound(com.google.gson.JsonObject object) 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 object) 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> sounds, boolean replace, String subtitle) -
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 randomSource) 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 sound) Requests a specific Sound instance to be preloaded.(package private) static booleanSoundManager.validateSoundResource(Sound sound, ResourceLocation location, ResourceProvider resourceProvider) 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> sounds) Preloads the SoundBuffer objects for the specified collection of sounds.