YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraftforge.common.AchievementPage Class Reference

Public Member Functions

 AchievementPage (String name, Achievement...achievements)
 
String getName ()
 
List< AchievementgetAchievements ()
 

Static Public Member Functions

static void registerAchievementPage (AchievementPage page)
 
static AchievementPage getAchievementPage (int index)
 
static AchievementPage getAchievementPage (String name)
 
static Set< AchievementPagegetAchievementPages ()
 
static boolean isAchievementInPages (Achievement achievement)
 
static String getTitle (int index)
 

Constructor & Destructor Documentation

net.minecraftforge.common.AchievementPage.AchievementPage ( String  name,
Achievement...  achievements 
)

Member Function Documentation

static AchievementPage net.minecraftforge.common.AchievementPage.getAchievementPage ( int  index)
static

Will return an achievement page by its index on the list.

Parameters
indexThe page's index.
Returns
the achievement page corresponding to the index or null if invalid index
static AchievementPage net.minecraftforge.common.AchievementPage.getAchievementPage ( String  name)
static

Will return an achievement page by its name.

Parameters
nameThe page's name.
Returns
the achievement page with the given name or null if no such page
static Set<AchievementPage> net.minecraftforge.common.AchievementPage.getAchievementPages ( )
static

Will return the list of achievement pages.

Returns
the list's size
List<Achievement> net.minecraftforge.common.AchievementPage.getAchievements ( )
String net.minecraftforge.common.AchievementPage.getName ( )
static String net.minecraftforge.common.AchievementPage.getTitle ( int  index)
static
static boolean net.minecraftforge.common.AchievementPage.isAchievementInPages ( Achievement  achievement)
static

Will return whether an achievement is in any page or not.

Parameters
achievementThe achievement.
static void net.minecraftforge.common.AchievementPage.registerAchievementPage ( AchievementPage  page)
static

Registers an achievement page.

Parameters
pageThe page.

The documentation for this class was generated from the following file: