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