// Path: src/main/java/cn/mccraft/chinacraft/init/CCSounds.java
// public interface CCSounds {
//     SoundEvent VOLUNTEER_MARCH = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.volunteer_march"));
//     SoundEvent SPRING_FESTIVAL = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.spring_festival"));
//     SoundEvent MOUNTAIN_FALL = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.mountain_fall"));
//     SoundEvent PLUM_BLOSSOM = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.plum_blossom"));
// }


import cn.mccraft.chinacraft.init.CCSounds;
import cn.mccraft.util.loader.Load;
import net.minecraft.init.SoundEvents;
import net.minecraft.util.SoundEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;
import java.util.Arrays;
package cn.mccraft.chinacraft.common;



public class SoundLoader {
    @Load
    public void loadSounds() {
// Path: src/main/java/cn/mccraft/chinacraft/init/CCSounds.java
// public interface CCSounds {
//     SoundEvent VOLUNTEER_MARCH = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.volunteer_march"));
//     SoundEvent SPRING_FESTIVAL = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.spring_festival"));
//     SoundEvent MOUNTAIN_FALL = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.mountain_fall"));
//     SoundEvent PLUM_BLOSSOM = new SoundEvent(new ResourceLocation(ChinaCraft.MODID, "record.plum_blossom"));
// }


// Path: src/main/java/cn/mccraft/chinacraft/common/SoundLoader.java
import cn.mccraft.chinacraft.init.CCSounds;
import cn.mccraft.util.loader.Load;
import net.minecraft.init.SoundEvents;
import net.minecraft.util.SoundEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;
import java.util.Arrays;

package cn.mccraft.chinacraft.common;



public class SoundLoader {
    @Load
    public void loadSounds() {
        Arrays.stream(CCSounds.class.getFields()).map(field -> {