// Path: src/main/java/cn/mccraft/chinacraft/init/CCAchievements.java
// public interface CCAchievements {
//     Achievement FIRST_BRONZE = new Achievement("achievement.firstBronze", "firstBronze", 0, 0, CCItems.BRONZE_INGOT, null);
//     Achievement FIRST_BRONZE_PICKAXE = new Achievement("achievement.firstBronzePickaxe", "firstBronzePickaxe", 2, 0, CCItems.BRONZE_PICKAXE, FIRST_BRONZE);
// }


import cn.mccraft.chinacraft.init.CCAchievements;
import cn.mccraft.util.loader.Load;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.fml.common.LoaderState;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.Set;
package cn.mccraft.chinacraft.common;



public class AchievementsLoader {
    private AchievementPage ccAchievementPage;

    @Load(LoaderState.POSTINITIALIZATION)
    public void registerAchievements() {
        Set<Achievement> achievements = new HashSet<>();
// Path: src/main/java/cn/mccraft/chinacraft/init/CCAchievements.java
// public interface CCAchievements {
//     Achievement FIRST_BRONZE = new Achievement("achievement.firstBronze", "firstBronze", 0, 0, CCItems.BRONZE_INGOT, null);
//     Achievement FIRST_BRONZE_PICKAXE = new Achievement("achievement.firstBronzePickaxe", "firstBronzePickaxe", 2, 0, CCItems.BRONZE_PICKAXE, FIRST_BRONZE);
// }


// Path: src/main/java/cn/mccraft/chinacraft/common/AchievementsLoader.java
import cn.mccraft.chinacraft.init.CCAchievements;
import cn.mccraft.util.loader.Load;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.fml.common.LoaderState;
import java.lang.reflect.Field;
import java.util.HashSet;
import java.util.Set;

package cn.mccraft.chinacraft.common;



public class AchievementsLoader {
    private AchievementPage ccAchievementPage;

    @Load(LoaderState.POSTINITIALIZATION)
    public void registerAchievements() {
        Set<Achievement> achievements = new HashSet<>();
        for (Field field : CCAchievements.class.getFields()) {