public record AmbientSounds(Optional<Holder<SoundEvent>> loop, Optional<AmbientMoodSettings> mood, List<AmbientAdditionsSettings> additions) {
12
public static final AmbientSounds EMPTY = new AmbientSounds(Optional.empty(), Optional.empty(), List.of());
13
public static final AmbientSounds LEGACY_CAVE_SETTINGS = new AmbientSounds(Optional.empty(), Optional.of(AmbientMoodSettings.LEGACY_CAVE_SETTINGS), List.of());
14
public static final Codec<AmbientSounds> CODEC = RecordCodecBuilder.create(
Decompiled Minecraft 26.3 source of AmbientSounds (net/minecraft/world/attribute/AmbientSounds.java) with Mojang official mappings, stored verbatim on the site.