Package org.bukkit

Enum Achievement

    • 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 name
        NullPointerException - 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