Placeholder Sigil Crafting, Added Achievements and Achievement Page.(currently broken)
This commit is contained in:
47
src/divine_equipment/common/Divine_Achievements.java
Normal file
47
src/divine_equipment/common/Divine_Achievements.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package common;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.stats.Achievement;
|
||||
import net.minecraftforge.common.AchievementPage;
|
||||
|
||||
import static net.minecraftforge.common.AchievementPage.*;
|
||||
|
||||
/**
|
||||
* User: Orthus
|
||||
* Date: 10/4/13
|
||||
*/
|
||||
|
||||
public class Divine_Achievements {
|
||||
Item BlessedSigil = Divine_Content.BlessedSigil;
|
||||
Item BlankSigil = Divine_Content.BlankSigil;
|
||||
Item TaintedSigil = Divine_Content.TaintedSigil;
|
||||
Item EnderSigil = Divine_Content.EnderSigil;
|
||||
|
||||
public Divine_Achievements(){
|
||||
Divine_Page();
|
||||
achievements();
|
||||
}
|
||||
|
||||
// Achievements
|
||||
public static Achievement DivineWill;
|
||||
public static Achievement HollowBeThyName;
|
||||
public static Achievement ChildOfTheDamned;
|
||||
public static Achievement EndersGame;
|
||||
public static Achievement FallenOne;
|
||||
public static Achievement Redemption;
|
||||
public static Achievement ShadowWarrior;
|
||||
public static AchievementPage Divine_Equipment;
|
||||
|
||||
void achievements(){
|
||||
DivineWill = new Achievement(2500, "Divine Will", 0, 0, BlankSigil, null);
|
||||
HollowBeThyName = new Achievement(2501, "Hollow Be Thy Name", 0, 2, BlessedSigil, DivineWill);
|
||||
ChildOfTheDamned = new Achievement(2502, "Child Of The Damned", 0, -2, TaintedSigil, DivineWill);
|
||||
EndersGame = new Achievement(2503, "Enders Game", -2, 0, EnderSigil, DivineWill);
|
||||
}
|
||||
|
||||
public void Divine_Page()
|
||||
{
|
||||
Divine_Equipment = new AchievementPage("Divine Equipment", HollowBeThyName, ChildOfTheDamned, EndersGame);
|
||||
registerAchievementPage(Divine_Equipment);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user