Split more files into parts

This commit is contained in:
mDiyo committed 2014-06-06 19:46:05 -08:00
1 parent e2f0558b6f
commit 5a87c102ea
61 files changed
+1365 -1499

No files matched your search

@@ -1,32 +0,0 @@
package tconstruct.achievements;
import java.util.HashMap;
import net.minecraft.stats.Achievement;
import net.minecraft.util.StatCollector;
import net.minecraftforge.common.AchievementPage;
public class TAchievements
{
// Add achievements in here before the load executes(end of TC's init event)
public static HashMap<String, Achievement> achievements = new HashMap<String, Achievement>();
// Warning: Will be null until after the init stage
public static AchievementPage achievementPage = null;
public static void init ()
{
Achievement[] achs = achievements.values().toArray(new Achievement[0]);
for (Achievement a : achs)
{
a.registerStat();
}
achievementPage = new AchievementPage(StatCollector.translateToLocal("tconstruct.achievementPage.name"), achs);
AchievementPage.registerAchievementPage(achievementPage);
}
}