Serializable
, Comparable<Achievement>
@Deprecated public enum Achievement extends Enum<Achievement>
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.
|
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.
|
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 final Achievement OVERPOWERED
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()
@Nullable public Achievement getParent()
Copyright © 2019. All rights reserved.