@@ -0,0 +1,18 @@
|
||||
package org.bukkit.advancement;
|
||||
|
||||
import java.util.Collection;
|
||||
import org.bukkit.Keyed;
|
||||
|
||||
/**
|
||||
* Represents an advancement that may be awarded to a player. This class is not
|
||||
* reference safe as the underlying advancement may be reloaded.
|
||||
*/
|
||||
public interface Advancement extends Keyed {
|
||||
|
||||
/**
|
||||
* Get all the criteria present in this advancement.
|
||||
*
|
||||
* @return a unmodifiable copy of all criteria
|
||||
*/
|
||||
Collection<String> getCriteria();
|
||||
}
|
||||
Reference in New Issue
Block a user