Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
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 @Nullable Advancement |
Bukkit.getAdvancement(@NotNull NamespacedKey key) |
Get the advancement specified by this key.
|
@Nullable Advancement |
Server.getAdvancement(@NotNull 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 @NotNull Iterator<Advancement> |
Bukkit.advancementIterator() |
Get an iterator through all advancements.
|
@NotNull Iterator<Advancement> |
Server.advancementIterator() |
Get an iterator through all advancements.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Advancement |
AdvancementProgress.getAdvancement() |
The advancement this progress is concerning.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull AdvancementProgress |
Player.getAdvancementProgress(@NotNull Advancement advancement) |
Return the player's progression on the specified advancement.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Advancement |
PlayerAdvancementDoneEvent.getAdvancement() |
Get the advancement which has been completed.
|
Constructor | Description |
---|---|
PlayerAdvancementDoneEvent(@NotNull Player who,
@NotNull Advancement advancement) |
Copyright © 2020. All rights reserved.