public enum Achievement extends Enum<Achievement>
Modifier and Type | Method and Description |
---|---|
Achievement |
getParent()
Returns the parent achievement of this achievement, or null if none.
|
boolean |
hasParent()
Returns whether or not this achievement has a parent achievement.
|
static Achievement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Achievement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Achievement OPEN_INVENTORY
public static final Achievement MINE_WOOD
public static final Achievement BUILD_WORKBENCH
public static final Achievement BUILD_PICKAXE
public static final Achievement BUILD_FURNACE
public static final Achievement ACQUIRE_IRON
public static final Achievement BUILD_HOE
public static final Achievement MAKE_BREAD
public static final Achievement BAKE_CAKE
public static final Achievement BUILD_BETTER_PICKAXE
public static final Achievement COOK_FISH
public static final Achievement ON_A_RAIL
public static final Achievement BUILD_SWORD
public static final Achievement KILL_ENEMY
public static final Achievement KILL_COW
public static final Achievement FLY_PIG
public static final Achievement SNIPE_SKELETON
public static final Achievement GET_DIAMONDS
public static final Achievement NETHER_PORTAL
public static final Achievement GHAST_RETURN
public static final Achievement GET_BLAZE_ROD
public static final Achievement BREW_POTION
public static final Achievement END_PORTAL
public static final Achievement THE_END
public static final Achievement ENCHANTMENTS
public static final Achievement OVERKILL
public static final Achievement BOOKCASE
public static final Achievement EXPLORE_ALL_BIOMES
public static final Achievement SPAWN_WITHER
public static final Achievement KILL_WITHER
public static final Achievement FULL_BEACON
public static final Achievement BREED_COW
public static final Achievement DIAMONDS_TO_YOU
public static Achievement[] values()
for (Achievement c : Achievement.values()) System.out.println(c);
public static Achievement valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean hasParent()
public Achievement getParent()
Copyright © 2014. All rights reserved.