AdvancementRequirements
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
count(test as function(t as string) as bool) as int
Counts the advancement requirements
Returns: The count of the advancement requirements
Parameters:
test: function(t as string) as bool
Type: function(t as string) as bool
- The predicate to count the advancement requirements with
Return Type:
int
Getter
Checks if the advancement requirements is empty
Return Type:
bool
Getter
Gets the names of the advancement requirements
Return Type:
Set<string>
Getter
Gets the requirements of the advancement
Return Type:
List<List<string>>
Getter
Gets the size of the advancement requirements
Return Type:
int
test(test as function(t as string) as bool) as bool
Tests the advancement requirements
Returns: true if the advancement requirements test passes, false otherwise
Parameters:
test: function(t as string) as bool
Type: function(t as string) as bool
- The predicate to test the advancement requirements with
Return Type:
bool