Uses of Class
org.bukkit.Achievement
| Package | Description |
|---|---|
| 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 |
-
Uses of Achievement in org.bukkit
Methods in org.bukkit that return Achievement Modifier and Type Method Description AchievementUnsafeValues. getAchievementFromInternalName(java.lang.String name)Deprecated.AchievementAchievement. getParent()Returns the parent achievement of this achievement, or null if none.static AchievementAchievement. valueOf(java.lang.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 Modifier and Type Method Description voidPlayer. awardAchievement(Achievement achievement)Awards the given achievement and any parent achievements that the player does not have.booleanPlayer. hasAchievement(Achievement achievement)Gets whether this player has the given achievement.voidPlayer. 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 Modifier and Type Method Description AchievementPlayerAchievementAwardedEvent. getAchievement()Gets the Achievement being awarded.Constructors in org.bukkit.event.player with parameters of type Achievement Constructor Description PlayerAchievementAwardedEvent(Player player, Achievement achievement)