package ru.liahim.saltmod.common;

import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.AchievementPage;
import ru.liahim.saltmod.SaltMod;

public class AchievSalt {
	
	public static Achievement salt = new Achievement("salt", "salt", 0, 0, ModItems.salt, null).registerStat();
	public static Achievement saltFarm = new Achievement("saltFarm", "saltFarm", 0, -2, ModItems.saltPinch, salt).registerStat();	

	public static Achievement mineralMud = new Achievement("mineralMud", "mineralMud", 2, 0, ModItems.mineralMud, null).registerStat();
	public static Achievement fullMud = new Achievement("fullMud", "fullMud", 2, -2, new ItemStack(ModItems.achievItem, 1, 1), mineralMud).registerStat();
	public static Achievement discomfiture = new Achievement("discomfiture", "discomfiture", 4, 0, new ItemStack(ModItems.achievItem, 1, 2), mineralMud).registerStat();
	
	public static Achievement saltWort = new Achievement("saltWort", "saltWort", 2, 1, ModItems.saltWortSeed, null).registerStat();
	public static Achievement saltWortFarm = new Achievement("saltWortFarm", "saltWortFarm", 2, 3, ModBlocks.saltDirtLite, saltWort).registerStat();

	public static Achievement moreBuckets = new Achievement("moreBuckets", "moreBuckets", 1, 1, Items.water_bucket, null).registerStat();
	public static Achievement muffin = new Achievement("muffin", "muffin", 1, 0, ModItems.muffin, null).registerStat();
	public static Achievement saltCrystal = new Achievement("saltCrystal", "saltCrystal", -2, -1, ModBlocks.saltCrystal, null).setSpecial().registerStat();
	public static Achievement saltLake = new Achievement("saltLake", "saltLake", 4, 2, ModBlocks.saltLake, null).setSpecial().registerStat();
	
	public static Achievement saltCrystalGet = new Achievement("saltCrystalGet", "saltCrystalGet", 0, 1, Items.iron_pickaxe, null).registerStat();
	public static Achievement saltWitch = new Achievement("saltWitch", "saltWitch", 0, 3, new ItemStack(ModItems.achievItem, 1, 0), saltCrystalGet).setSpecial().registerStat();
	public static Achievement saltSlime = new Achievement("saltSlime", "saltSlime", -2, 1, ModItems.escargot, saltCrystalGet).setSpecial().registerStat();
	
	public static AchievementPage achievSaltPage = new AchievementPage(SaltMod.NAME,
			salt,
			saltFarm,
			mineralMud,
			fullMud,
			discomfiture,
			saltWort,
			saltWortFarm,
			moreBuckets,
			muffin,
			saltCrystalGet,
			saltSlime,
			saltWitch,
			saltLake,
			saltCrystal);
	
    public static final void init()
    {
    	AchievementPage.registerAchievementPage(achievSaltPage);
    }
}
@@ -2565,20 +2565,17 @@
 l);%0D%0A%09%0D%0A
-    
+%09
 public s
@@ -2603,19 +2603,13 @@
 ()%0D%0A
-    %7B%0D%0A    
+%09%7B%0D%0A%09
 %09Ach
@@ -2667,12 +2667,11 @@
 );%0D%0A
-    
+%09
 %7D%0D%0A%7D
+%0D%0A

Update AchievSalt.java