AdvancementProgress
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Implemented Interfaces
AdvancementProgress implements the following interfaces. That means all methods defined in these interfaces are also available in AdvancementProgress
- stdlib.Comparable<AdvancementProgress>
Methods
Return Type: CriterionProgress?
Parameter | Type |
---|---|
Parameter criterionName | Type string |
Return Type: boolean
Parameter | Type |
---|---|
Parameter criterionName | Type string |
Return Type: boolean
Parameter | Type |
---|---|
Parameter criterionName | Type string |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name completedCriteria | Type stdlib.List<string> | Has Getter true | Has Setter false |
Name done | Type boolean | Has Getter true | Has Setter false |
Name hasProgress | Type boolean | Has Getter true | Has Setter false |
Name percent | Type float | Has Getter true | Has Setter false |
Name progressText | Type Component? | Has Getter true | Has Setter false |
Name remainingCriteria | Type stdlib.List<string> | Has Getter true | Has Setter false |