Commits
md_5 authored 5ad2ecf6582
1 + | package org.bukkit.advancement; |
2 + | |
3 + | import java.util.Collection; |
4 + | import org.bukkit.Keyed; |
5 + | |
6 + | /** |
7 + | * Represents an advancement that may be awarded to a player. This class is not |
8 + | * reference safe as the underlying advancement may be reloaded. |
9 + | */ |
10 + | public interface Advancement extends Keyed { |
11 + | |
12 + | /** |
13 + | * Get all the criteria present in this advancement. |
14 + | * |
15 + | * @return a unmodifiable copy of all criteria |
16 + | */ |
17 + | Collection<String> getCriteria(); |
18 + | } |