public interface AdvancementProgress
Modifier and Type | Method and Description |
---|---|
boolean |
awardCriteria(String criteria)
Mark the specified criteria as awarded at the current time.
|
Advancement |
getAdvancement()
The advancement this progress is concerning.
|
Collection<String> |
getAwardedCriteria()
Gets the criteria which have been awarded.
|
Date |
getDateAwarded(String criteria)
Get the date the specified criteria was awarded.
|
Collection<String> |
getRemainingCriteria()
Get the criteria which have not been awarded.
|
boolean |
isDone()
Check if all criteria for this advancement have been met.
|
boolean |
revokeCriteria(String criteria)
Mark the specified criteria as uncompleted.
|
Advancement getAdvancement()
boolean isDone()
boolean awardCriteria(String criteria)
criteria
- the criteria to markboolean revokeCriteria(String criteria)
criteria
- the criteria to markDate getDateAwarded(String criteria)
criteria
- the criteria to checkCollection<String> getRemainingCriteria()
Collection<String> getAwardedCriteria()
Copyright © 2021. All rights reserved.