Package org.bukkit
Enum Achievement
- java.lang.Object
-
- java.lang.Enum<Achievement>
-
- org.bukkit.Achievement
-
- All Implemented Interfaces:
Serializable
,Comparable<Achievement>
@Deprecated public enum Achievement extends Enum<Achievement>
Deprecated.future versions of Minecraft do not have achievementsRepresents an achievement, which may be given to players.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACQUIRE_IRON
Deprecated.BAKE_CAKE
Deprecated.BOOKCASE
Deprecated.BREED_COW
Deprecated.BREW_POTION
Deprecated.BUILD_BETTER_PICKAXE
Deprecated.BUILD_FURNACE
Deprecated.BUILD_HOE
Deprecated.BUILD_PICKAXE
Deprecated.BUILD_SWORD
Deprecated.BUILD_WORKBENCH
Deprecated.COOK_FISH
Deprecated.DIAMONDS_TO_YOU
Deprecated.ENCHANTMENTS
Deprecated.END_PORTAL
Deprecated.EXPLORE_ALL_BIOMES
Deprecated.FLY_PIG
Deprecated.FULL_BEACON
Deprecated.GET_BLAZE_ROD
Deprecated.GET_DIAMONDS
Deprecated.GHAST_RETURN
Deprecated.KILL_COW
Deprecated.KILL_ENEMY
Deprecated.KILL_WITHER
Deprecated.MAKE_BREAD
Deprecated.MINE_WOOD
Deprecated.NETHER_PORTAL
Deprecated.ON_A_RAIL
Deprecated.OPEN_INVENTORY
Deprecated.OVERKILL
Deprecated.OVERPOWERED
Deprecated.SNIPE_SKELETON
Deprecated.SPAWN_WITHER
Deprecated.THE_END
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Achievement
getParent()
Deprecated.Returns the parent achievement of this achievement, or null if none.boolean
hasParent()
Deprecated.Returns whether or not this achievement has a parent achievement.static Achievement
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static Achievement[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN_INVENTORY
public static final Achievement OPEN_INVENTORY
Deprecated.
-
MINE_WOOD
public static final Achievement MINE_WOOD
Deprecated.
-
BUILD_WORKBENCH
public static final Achievement BUILD_WORKBENCH
Deprecated.
-
BUILD_PICKAXE
public static final Achievement BUILD_PICKAXE
Deprecated.
-
BUILD_FURNACE
public static final Achievement BUILD_FURNACE
Deprecated.
-
ACQUIRE_IRON
public static final Achievement ACQUIRE_IRON
Deprecated.
-
BUILD_HOE
public static final Achievement BUILD_HOE
Deprecated.
-
MAKE_BREAD
public static final Achievement MAKE_BREAD
Deprecated.
-
BAKE_CAKE
public static final Achievement BAKE_CAKE
Deprecated.
-
BUILD_BETTER_PICKAXE
public static final Achievement BUILD_BETTER_PICKAXE
Deprecated.
-
COOK_FISH
public static final Achievement COOK_FISH
Deprecated.
-
ON_A_RAIL
public static final Achievement ON_A_RAIL
Deprecated.
-
BUILD_SWORD
public static final Achievement BUILD_SWORD
Deprecated.
-
KILL_ENEMY
public static final Achievement KILL_ENEMY
Deprecated.
-
KILL_COW
public static final Achievement KILL_COW
Deprecated.
-
FLY_PIG
public static final Achievement FLY_PIG
Deprecated.
-
SNIPE_SKELETON
public static final Achievement SNIPE_SKELETON
Deprecated.
-
GET_DIAMONDS
public static final Achievement GET_DIAMONDS
Deprecated.
-
NETHER_PORTAL
public static final Achievement NETHER_PORTAL
Deprecated.
-
GHAST_RETURN
public static final Achievement GHAST_RETURN
Deprecated.
-
GET_BLAZE_ROD
public static final Achievement GET_BLAZE_ROD
Deprecated.
-
BREW_POTION
public static final Achievement BREW_POTION
Deprecated.
-
END_PORTAL
public static final Achievement END_PORTAL
Deprecated.
-
THE_END
public static final Achievement THE_END
Deprecated.
-
ENCHANTMENTS
public static final Achievement ENCHANTMENTS
Deprecated.
-
OVERKILL
public static final Achievement OVERKILL
Deprecated.
-
BOOKCASE
public static final Achievement BOOKCASE
Deprecated.
-
EXPLORE_ALL_BIOMES
public static final Achievement EXPLORE_ALL_BIOMES
Deprecated.
-
SPAWN_WITHER
public static final Achievement SPAWN_WITHER
Deprecated.
-
KILL_WITHER
public static final Achievement KILL_WITHER
Deprecated.
-
FULL_BEACON
public static final Achievement FULL_BEACON
Deprecated.
-
BREED_COW
public static final Achievement BREED_COW
Deprecated.
-
DIAMONDS_TO_YOU
public static final Achievement DIAMONDS_TO_YOU
Deprecated.
-
OVERPOWERED
public static final Achievement OVERPOWERED
Deprecated.
-
-
Method Detail
-
values
public static Achievement[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Achievement c : Achievement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Achievement valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
hasParent
public boolean hasParent()
Deprecated.Returns whether or not this achievement has a parent achievement.- Returns:
- whether the achievement has a parent achievement
-
getParent
@Nullable public Achievement getParent()
Deprecated.Returns the parent achievement of this achievement, or null if none.- Returns:
- the parent achievement or null
-
-