SPIGOT-3238: Add Server.advancementIterator
By: md_5 <git@md-5.net>
This commit is contained in:
parent
75a18fd5ad
commit
5dcd2db4e8
2 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue