Class ProgressData
java.lang.Object
eu.endercentral.crazy_advancements.save.ProgressData
Represents the Save Data for an Advancement saved by
CriteriaType
NUMBER- Author:
- Axel
-
Constructor Summary
ConstructorDescriptionProgressData
(NameKey name, int progress) Constructor for creating ProgressData -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the Unique Name of the Advancementint
Gets the Progress
-
Constructor Details
-
ProgressData
Constructor for creating ProgressData- Parameters:
name
- The Unique Name of the Advancementprogress
- The Progress
-
-
Method Details
-
getName
Gets the Unique Name of the Advancement- Returns:
- The Unique Name
-
getProgress
public int getProgress()Gets the Progress- Returns:
- The Progress
-