Search in sources :

Example 6 with AchievementPage

use of net.minecraftforge.common.AchievementPage in project Witchworks by Um-Mitternacht.

the class ModAchievements method init.

public static void init() {
    craftMalachite = new AchievementMod(LibAchievementName.CRAFT_MALACHITE, -5, 0, ModItems.MALACHITE, null);
    final AchievementPage page = new AchievementPage(MOD_NAME, achievements.toArray(new Achievement[achievements.size()]));
    AchievementPage.registerAchievementPage(page);
    MinecraftForge.EVENT_BUS.register(AchievementTriggers.class);
}
Also used : AchievementPage(net.minecraftforge.common.AchievementPage) Achievement(net.minecraft.stats.Achievement)

Aggregations

AchievementPage (net.minecraftforge.common.AchievementPage)6 Achievement (net.minecraft.stats.Achievement)4 ItemStack (net.minecraft.item.ItemStack)3 ItemDrill (blusunrize.immersiveengineering.common.items.ItemDrill)1 ItemRevolver (blusunrize.immersiveengineering.common.items.ItemRevolver)1 ElementAchievement (minechem.achievement.ElementAchievement)1 ElementAchievementPage (minechem.achievement.ElementAchievementPage)1 StatBase (net.minecraft.stats.StatBase)1 TextComponentTranslation (net.minecraft.util.text.TextComponentTranslation)1