mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-28 07:29:09 +02:00
15 lines
635 B
Java
15 lines
635 B
Java
package ellpeck.actuallyadditions.achievement;
|
|
|
|
import ellpeck.actuallyadditions.util.Util;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.stats.Achievement;
|
|
|
|
public class AchievementAA extends Achievement{
|
|
|
|
public AchievementAA(String name, int x, int y, ItemStack displayStack, Achievement hasToHaveBefore){
|
|
super("achievement." + Util.MOD_ID_LOWER +"." + Util.MOD_ID_LOWER + "." + name, Util.MOD_ID_LOWER + "." + name, x, y, displayStack, hasToHaveBefore);
|
|
InitAchievements.achievementList.add(this);
|
|
if(hasToHaveBefore == null) this.initIndependentStat();
|
|
this.registerStat();
|
|
}
|
|
} |