mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
@@ -1144,6 +1144,16 @@ public final class Bukkit {
|
|||||||
return server.getAdvancement(key);
|
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
|
* @see UnsafeValues
|
||||||
* @return the unsafe values instance
|
* @return the unsafe values instance
|
||||||
|
@@ -936,6 +936,14 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
*/
|
*/
|
||||||
Advancement getAdvancement(NamespacedKey key);
|
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
|
* @see UnsafeValues
|
||||||
* @return the unsafe values instance
|
* @return the unsafe values instance
|
||||||
|
Reference in New Issue
Block a user