Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.advancement |
Classes relevant to advancements.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player |
Modifier and Type | Field | Description |
---|---|---|
static Registry<Advancement> |
Registry.ADVANCEMENT |
Server advancements.
|
Modifier and Type | Method | Description |
---|---|---|
static Advancement |
Bukkit.getAdvancement(NamespacedKey key) |
Get the advancement specified by this key.
|
Advancement |
Server.getAdvancement(NamespacedKey key) |
Get the advancement specified by this key.
|
Advancement |
UnsafeValues.loadAdvancement(NamespacedKey key,
String advancement) |
Deprecated.
Load an advancement represented by the specified string into the server.
|
Modifier and Type | Method | Description |
---|---|---|
static Iterator<Advancement> |
Bukkit.advancementIterator() |
Get an iterator through all advancements.
|
Iterator<Advancement> |
Server.advancementIterator() |
Get an iterator through all advancements.
|
Modifier and Type | Method | Description |
---|---|---|
Advancement |
AdvancementProgress.getAdvancement() |
The advancement this progress is concerning.
|
Modifier and Type | Method | Description |
---|---|---|
AdvancementProgress |
Player.getAdvancementProgress(Advancement advancement) |
Return the player's progression on the specified advancement.
|
Modifier and Type | Method | Description |
---|---|---|
Advancement |
PlayerAdvancementDoneEvent.getAdvancement() |
Get the advancement which has been completed.
|
Constructor | Description |
---|---|
PlayerAdvancementDoneEvent(Player who,
Advancement advancement) |
Copyright © 2020. All rights reserved.