Package | Description |
---|---|
com.destroystokyo.paper.event.player | |
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 | Method and Description |
---|---|
@NotNull Advancement |
PlayerAdvancementCriterionGrantEvent.getAdvancement()
Get the advancement which has been affected.
|
Constructor and Description |
---|
PlayerAdvancementCriterionGrantEvent(@NotNull Player who,
@NotNull Advancement advancement,
@NotNull String criterion) |
Modifier and Type | Field and Description |
---|---|
static Registry<Advancement> |
Registry.ADVANCEMENT
Server advancements.
|
Modifier and Type | Method and 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 and Description |
---|---|
@NotNull Advancement |
AdvancementProgress.getAdvancement()
The advancement this progress is concerning.
|
Modifier and Type | Method and Description |
---|---|
@NotNull AdvancementProgress |
Player.getAdvancementProgress(@NotNull Advancement advancement)
Return the player's progression on the specified advancement.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Advancement |
PlayerAdvancementDoneEvent.getAdvancement()
Get the advancement which has been completed.
|
Constructor and Description |
---|
PlayerAdvancementDoneEvent(@NotNull Player who,
@NotNull Advancement advancement) |
PlayerAdvancementDoneEvent(@NotNull Player who,
@NotNull Advancement advancement,
@Nullable net.kyori.adventure.text.Component message) |
Copyright © 2021. All rights reserved.