Commits
Nothixal authored and md_5 committed e8a318d46e5
12 12 | public interface Advancement extends Keyed { |
13 13 | |
14 14 | /** |
15 15 | * Get all the criteria present in this advancement. |
16 16 | * |
17 17 | * @return a unmodifiable copy of all criteria |
18 18 | */ |
19 19 | |
20 20 | Collection<String> getCriteria(); |
21 21 | |
22 + | /** |
23 + | * Returns the requirements for this advancement. |
24 + | * |
25 + | * @return an AdvancementRequirements object. |
26 + | */ |
27 + | |
28 + | AdvancementRequirements getRequirements(); |
29 + | |
22 30 | /** |
23 31 | * Returns the display information for this advancement. |
24 32 | * |
25 33 | * This includes it's name, description and other visible tags. |
26 34 | * |
27 35 | * @return a AdvancementDisplay object, or null if not set. |
28 36 | */ |
29 37 | |
30 38 | AdvancementDisplay getDisplay(); |
31 39 | } |