Revise and update Achievement enum. Fixes #194.

This commit is contained in:
Steven Smith 2016-09-05 19:23:57 -07:00
parent 3edf915191
commit 630f7c27a4
2 changed files with 67 additions and 67 deletions

View file

@ -517,38 +517,39 @@ public class MagicValues {
register(EnterCreditsValue.SEEN_BEFORE, 0); register(EnterCreditsValue.SEEN_BEFORE, 0);
register(EnterCreditsValue.FIRST_TIME, 1); register(EnterCreditsValue.FIRST_TIME, 1);
register(Achievement.OPEN_INVENTORY, "achievement.openInventory"); register(Achievement.TAKING_INVENTORY, "achievement.openInventory");
register(Achievement.GET_WOOD, "achievement.mineWood"); register(Achievement.GETTING_WOOD, "achievement.mineWood");
register(Achievement.MAKE_WORKBENCH, "achievement.buildWorkBench"); register(Achievement.BENCHMARKING, "achievement.buildWorkBench");
register(Achievement.MAKE_PICKAXE, "achievement.buildPickaxe"); register(Achievement.TIME_TO_MINE, "achievement.buildPickaxe");
register(Achievement.MAKE_FURNACE, "achievement.buildFurnace"); register(Achievement.HOT_TOPIC, "achievement.buildFurnace");
register(Achievement.GET_IRON, "achievement.acquireIron"); register(Achievement.ACQUIRE_HARDWARE, "achievement.acquireIron");
register(Achievement.MAKE_HOE, "achievement.buildHoe"); register(Achievement.TIME_TO_FARM, "achievement.buildHoe");
register(Achievement.MAKE_BREAD, "achievement.makeBread"); register(Achievement.BAKE_BREAD, "achievement.makeBread");
register(Achievement.MAKE_CAKE, "achievement.bakeCake"); register(Achievement.THE_LIE, "achievement.bakeCake");
register(Achievement.MAKE_IRON_PICKAXE, "achievement.buildBetterPickaxe"); register(Achievement.GETTING_AN_UPGRADE, "achievement.buildBetterPickaxe");
register(Achievement.COOK_FISH, "achievement.cookFish"); register(Achievement.DELICIOUS_FISH, "achievement.cookFish");
register(Achievement.RIDE_MINECART_1000_BLOCKS, "achievement.onARail"); register(Achievement.ON_A_RAIL, "achievement.onARail");
register(Achievement.MAKE_SWORD, "achievement.buildSword"); register(Achievement.TIME_TO_STRIKE, "achievement.buildSword");
register(Achievement.KILL_ENEMY, "achievement.killEnemy"); register(Achievement.MONSTER_HUNTER, "achievement.killEnemy");
register(Achievement.KILL_COW, "achievement.killCow"); register(Achievement.COW_TIPPER, "achievement.killCow");
register(Achievement.FLY_PIG, "achievement.flyPig"); register(Achievement.WHEN_PIGS_FLY, "achievement.flyPig");
register(Achievement.SNIPE_SKELETON, "achievement.snipeSkeleton"); register(Achievement.SNIPER_DUEL, "achievement.snipeSkeleton");
register(Achievement.GET_DIAMONDS, "achievement.diamonds"); register(Achievement.DIAMONDS, "achievement.diamonds");
register(Achievement.GIVE_DIAMONDS, "achievement.diamondsToYou"); register(Achievement.WE_NEED_TO_GO_DEEPER, "achievement.portal");
register(Achievement.ENTER_PORTAL, "achievement.portal"); register(Achievement.RETURN_TO_SENDER, "achievement.ghast");
register(Achievement.ATTACKED_BY_GHAST, "achievement.ghast"); register(Achievement.INTO_FIRE, "achievement.blazeRod");
register(Achievement.GET_BLAZE_ROD, "achievement.blazeRod"); register(Achievement.LOCAL_BREWERY, "achievement.potion");
register(Achievement.MAKE_POTION, "achievement.potion"); register(Achievement.THE_END_1, "achievement.theEnd");
register(Achievement.GO_TO_THE_END, "achievement.theEnd"); register(Achievement.THE_END_2, "achievement.theEnd2");
register(Achievement.DEFEAT_ENDER_DRAGON, "achievement.theEnd2"); register(Achievement.ENCHANTER, "achievement.enchantments");
register(Achievement.DEAL_18_OR_MORE_DAMAGE, "achievement.overkill"); register(Achievement.OVERKILL, "achievement.overkill");
register(Achievement.MAKE_BOOKCASE, "achievement.bookcase"); register(Achievement.LIBRARIAN, "achievement.bookcase");
register(Achievement.BREED_COW, "achievement.breedCow"); register(Achievement.ADVENTURING_TIME, "achievement.exploreAllBiomes");
register(Achievement.SPAWN_WITHER, "achievement.spawnWither"); register(Achievement.THE_BEGINNING_1, "achievement.spawnWither");
register(Achievement.KILL_WITHER, "achievement.killWither"); register(Achievement.THE_BEGINNING_2, "achievement.killWither");
register(Achievement.MAKE_FULL_BEACON, "achievement.fullBeacon"); register(Achievement.BEACONATOR, "achievement.fullBeacon");
register(Achievement.EXPLORE_ALL_BIOMES, "achievement.exploreAllBiomes"); register(Achievement.REPOPULATION, "achievement.breedCow");
register(Achievement.DIAMONDS_TO_YOU, "achievement.diamondsToYou");
register(Achievement.OVERPOWERED, "achievement.overpowered"); register(Achievement.OVERPOWERED, "achievement.overpowered");
register(GenericStatistic.TIMES_LEFT_GAME, "stat.leaveGame"); register(GenericStatistic.TIMES_LEFT_GAME, "stat.leaveGame");

View file

@ -1,39 +1,38 @@
package org.spacehq.mc.protocol.data.game.statistic; package org.spacehq.mc.protocol.data.game.statistic;
public enum Achievement implements Statistic { public enum Achievement implements Statistic {
TAKING_INVENTORY,
OPEN_INVENTORY, GETTING_WOOD,
GET_WOOD, BENCHMARKING,
MAKE_WORKBENCH, TIME_TO_MINE,
MAKE_PICKAXE, HOT_TOPIC,
MAKE_FURNACE, ACQUIRE_HARDWARE,
GET_IRON, TIME_TO_FARM,
MAKE_HOE, BAKE_BREAD,
MAKE_BREAD, THE_LIE,
MAKE_CAKE, GETTING_AN_UPGRADE,
MAKE_IRON_PICKAXE, DELICIOUS_FISH,
COOK_FISH, ON_A_RAIL,
RIDE_MINECART_1000_BLOCKS, TIME_TO_STRIKE,
MAKE_SWORD, MONSTER_HUNTER,
KILL_ENEMY, COW_TIPPER,
KILL_COW, WHEN_PIGS_FLY,
FLY_PIG, SNIPER_DUEL,
SNIPE_SKELETON, DIAMONDS,
GET_DIAMONDS, WE_NEED_TO_GO_DEEPER,
GIVE_DIAMONDS, RETURN_TO_SENDER,
ENTER_PORTAL, INTO_FIRE,
ATTACKED_BY_GHAST, LOCAL_BREWERY,
GET_BLAZE_ROD, THE_END_1,
MAKE_POTION, THE_END_2,
GO_TO_THE_END, ENCHANTER,
DEFEAT_ENDER_DRAGON, OVERKILL,
DEAL_18_OR_MORE_DAMAGE, LIBRARIAN,
MAKE_BOOKCASE, ADVENTURING_TIME,
BREED_COW, THE_BEGINNING_1,
SPAWN_WITHER, THE_BEGINNING_2,
KILL_WITHER, BEACONATOR,
MAKE_FULL_BEACON, REPOPULATION,
EXPLORE_ALL_BIOMES, DIAMONDS_TO_YOU,
OVERPOWERED; OVERPOWERED
} }