geforkt von Mirrors/Paper
SPIGOT-3238: Add Server.advancementIterator
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
75a18fd5ad
Commit
5dcd2db4e8
@ -1144,6 +1144,16 @@ public final class Bukkit {
|
||||
return server.getAdvancement(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an iterator through all advancements. Advancements cannot be removed
|
||||
* from this iterator,
|
||||
*
|
||||
* @return an advancement iterator
|
||||
*/
|
||||
public static Iterator<Advancement> advancementIterator() {
|
||||
return server.advancementIterator();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see UnsafeValues
|
||||
* @return the unsafe values instance
|
||||
|
@ -936,6 +936,14 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
Advancement getAdvancement(NamespacedKey key);
|
||||
|
||||
/**
|
||||
* Get an iterator through all advancements. Advancements cannot be removed
|
||||
* from this iterator,
|
||||
*
|
||||
* @return an advancement iterator
|
||||
*/
|
||||
Iterator<Advancement> advancementIterator();
|
||||
|
||||
/**
|
||||
* @see UnsafeValues
|
||||
* @return the unsafe values instance
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren