Commits

md_5 authored 5ad2ecf6582
Minecraft 1.12-pre2 API Changes
No tags

src/main/java/org/bukkit/advancement/Advancement.java

Added
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 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut