Minecraft 1.12-pre2 API Changes

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2017-05-14 12:00:00 +10:00
parent 05d2efaa86
commit 75a18fd5ad
29 changed files with 785 additions and 36 deletions

View File

@@ -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();
}