public interface Achievement extends CatalogType, Translatable, TextRepresentable
Modifier and Type | Method and Description |
---|---|
Collection<Achievement> |
getChildren()
Returns the children of this achievement.
|
Translation |
getDescription()
Returns the description that describes this achievement.
|
Optional<Achievement> |
getParent()
Returns the parent of this achievement, if there is one.
|
Optional<Statistic> |
getSourceStatistic()
Gets the
Statistic which this achievement is backed by if it is available. |
Optional<Long> |
getStatisticTargetValue()
If this achievement is backed by a statistic (eg.
|
getId, getName
getTranslation
toText
Translation getDescription()
Optional<Achievement> getParent()
Collection<Achievement> getChildren()
Optional<Statistic> getSourceStatistic()
Statistic
which this achievement is backed by if it is available.Optional<Long> getStatisticTargetValue()
getSourceStatistic()
is not absent) then this will return the
target value which must be reached for this achievement to be awarded to
a player.