|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Achievement | |
---|---|
org.bukkit | More generalized classes in the API. |
org.bukkit.entity | Interfaces for non-voxel objects that can exist in a world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player | Events relating to players . |
Uses of Achievement in org.bukkit |
---|
Methods in org.bukkit that return Achievement | |
---|---|
Achievement |
UnsafeValues.getAchievementFromInternalName(String name)
Deprecated. |
Achievement |
Achievement.getParent()
Returns the parent achievement of this achievement, or null if none. |
static Achievement |
Achievement.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Achievement[] |
Achievement.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Uses of Achievement in org.bukkit.entity |
---|
Methods in org.bukkit.entity with parameters of type Achievement | |
---|---|
void |
Player.awardAchievement(Achievement achievement)
Awards the given achievement and any parent achievements that the player does not have. |
boolean |
Player.hasAchievement(Achievement achievement)
Gets whether this player has the given achievement. |
void |
Player.removeAchievement(Achievement achievement)
Removes the given achievement and any children achievements that the player has. |
Uses of Achievement in org.bukkit.event.player |
---|
Methods in org.bukkit.event.player that return Achievement | |
---|---|
Achievement |
PlayerAchievementAwardedEvent.getAchievement()
Gets the Achievement being awarded. |
Constructors in org.bukkit.event.player with parameters of type Achievement | |
---|---|
PlayerAchievementAwardedEvent(Player player,
Achievement achievement)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |