From 9026d9a3bce5130bf0875cf4a83cd9274729ae81 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 19 Oct 2013 10:57:56 +1100 Subject: [PATCH] Started moving achievement localizations into the lang file --- common/biomesoplenty/BiomesOPlenty.java | 6 +- .../biomesoplenty/blocks/BlockBOPGlass.java | 4 +- .../BOPAchievements.java} | 422 +++++++++--------- .../eventhandlers/EntityEventHandler.java | 4 +- .../assets/biomesoplenty/lang/en_US.lang | 30 ++ 5 files changed, 240 insertions(+), 226 deletions(-) rename common/biomesoplenty/{helpers/AchievementHelper.java => configuration/BOPAchievements.java} (52%) diff --git a/common/biomesoplenty/BiomesOPlenty.java b/common/biomesoplenty/BiomesOPlenty.java index 18ff1821f..fd7dbc054 100644 --- a/common/biomesoplenty/BiomesOPlenty.java +++ b/common/biomesoplenty/BiomesOPlenty.java @@ -5,6 +5,7 @@ import net.minecraft.creativetab.CreativeTabs; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.common.ForgeVersion; import net.minecraftforge.common.MinecraftForge; +import biomesoplenty.configuration.BOPAchievements; import biomesoplenty.configuration.BOPBiomes; import biomesoplenty.configuration.BOPBlocks; import biomesoplenty.configuration.BOPCrafting; @@ -28,7 +29,6 @@ import biomesoplenty.handlers.MovementHandler; import biomesoplenty.handlers.SoundHandler; import biomesoplenty.handlers.TickHandlerClient; import biomesoplenty.handlers.TickHandlerServer; -import biomesoplenty.helpers.AchievementHelper; import biomesoplenty.helpers.CreativeTabsBOP; import biomesoplenty.helpers.Version; import biomesoplenty.integration.BOPCrossIntegration; @@ -83,7 +83,7 @@ public class BiomesOPlenty // Achievement declaration if (BOPConfigurationMisc.achievements) { - AchievementHelper.init(); + BOPAchievements.init(); } GameRegistry.registerCraftingHandler(new BOPCraftHandler()); @@ -103,7 +103,7 @@ public class BiomesOPlenty MinecraftForge.TERRAIN_GEN_BUS.register(new WorldTypeSize()); if (ForgeVersion.buildVersion >= 891 || proxy instanceof ClientProxy) MinecraftForge.TERRAIN_GEN_BUS.register(new VillageMaterialEventHandler()); - MinecraftForge.EVENT_BUS.register(new AchievementHelper()); + MinecraftForge.EVENT_BUS.register(new BOPAchievements()); MinecraftForge.EVENT_BUS.register(new BonemealEventHandler()); MinecraftForge.EVENT_BUS.register(new EntityEventHandler()); MinecraftForge.EVENT_BUS.register(new FluidEventHandler()); diff --git a/common/biomesoplenty/blocks/BlockBOPGlass.java b/common/biomesoplenty/blocks/BlockBOPGlass.java index 21be21bbe..b5459f375 100644 --- a/common/biomesoplenty/blocks/BlockBOPGlass.java +++ b/common/biomesoplenty/blocks/BlockBOPGlass.java @@ -21,7 +21,7 @@ import net.minecraft.world.World; import biomesoplenty.BiomesOPlenty; import biomesoplenty.api.Blocks; import biomesoplenty.api.Items; -import biomesoplenty.helpers.AchievementHelper; +import biomesoplenty.configuration.BOPAchievements; import biomesoplenty.tileentities.TileEntityAltar; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.relauncher.Side; @@ -157,7 +157,7 @@ public class BlockBOPGlass extends Block FMLClientHandler.instance().getClient().sndManager.playSound("mob.enderdragon.growl", (float) x + 0.5F, (float) y + 0.5F, (float) z + 0.5F, 5.0F, 1.0F); } - player.addStat(AchievementHelper.achSacrifice, 1); + player.addStat(BOPAchievements.achSacrifice, 1); if (!world.isRemote) { diff --git a/common/biomesoplenty/helpers/AchievementHelper.java b/common/biomesoplenty/configuration/BOPAchievements.java similarity index 52% rename from common/biomesoplenty/helpers/AchievementHelper.java rename to common/biomesoplenty/configuration/BOPAchievements.java index c4fa33ae9..063f0ddc9 100644 --- a/common/biomesoplenty/helpers/AchievementHelper.java +++ b/common/biomesoplenty/configuration/BOPAchievements.java @@ -1,4 +1,4 @@ -package biomesoplenty.helpers; +package biomesoplenty.configuration; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; @@ -19,7 +19,7 @@ import biomesoplenty.api.Items; import biomesoplenty.configuration.configfile.BOPConfigurationMisc; import cpw.mods.fml.common.registry.LanguageRegistry; -public class AchievementHelper +public class BOPAchievements { // Achievement declaration public static Achievement achBOP; @@ -122,102 +122,102 @@ public class AchievementHelper public static void init() { - achBOP = (new Achievement(3080, "achBOP", -10, -6, new ItemStack(Items.food.get(), 1, 7), null)).registerAchievement().setSpecial(); - achAlps = (new Achievement(3082, "achAlps", -8, -6, new ItemStack(Block.stone, 1, 0), achBOP)).registerAchievement(); - achArctic = (new Achievement(3083, "achArctic", -6, -6, new ItemStack(Block.blockSnow, 1, 0), achBOP)).registerAchievement(); - achBadlands = (new Achievement(3084, "achBadlands", -4, -6, new ItemStack(Block.hardenedClay, 1, 0), achBOP)).registerAchievement(); - achBambooForest = (new Achievement(3085, "achBambooForest", -2, -6, new ItemStack(Blocks.saplings.get(), 1, 2), achBOP)).registerAchievement(); - achBayou = (new Achievement(3086, "achBayou", 0, -6, new ItemStack(Blocks.willow.get(), 1, 0), achBOP)).registerAchievement(); - achBirchForest = (new Achievement(3087, "achBirchForest", 2, -6, new ItemStack(Block.sapling, 1, 2), achBOP)).registerAchievement(); - achBog = (new Achievement(3088, "achBog", 4, -6, new ItemStack(Blocks.mushrooms.get(), 1, 2), achBOP)).registerAchievement(); - achBorealForest = (new Achievement(3089, "achBorealForest", 6, -6, new ItemStack(Blocks.saplings.get(), 1, 1), achBOP)).registerAchievement(); - achBrushland = (new Achievement(3090, "achBrushland", 8, -6, new ItemStack(Block.leaves, 1, 2), achBOP)).registerAchievement(); - achCanyon = (new Achievement(3091, "achCanyon", 10, -6, new ItemStack(Blocks.hardDirt.get(), 1, 0), achBOP)).registerAchievement(); + achBOP = (new Achievement(3080, "bop.achBOP", -10, -6, new ItemStack(Items.food.get(), 1, 7), null)).registerAchievement().setSpecial(); + achAlps = (new Achievement(3082, "bop.achAlps", -8, -6, new ItemStack(Block.stone, 1, 0), achBOP)).registerAchievement(); + achArctic = (new Achievement(3083, "bop.achArctic", -6, -6, new ItemStack(Block.blockSnow, 1, 0), achBOP)).registerAchievement(); + achBadlands = (new Achievement(3084, "bop.achBadlands", -4, -6, new ItemStack(Block.hardenedClay, 1, 0), achBOP)).registerAchievement(); + achBambooForest = (new Achievement(3085, "bop.achBambooForest", -2, -6, new ItemStack(Blocks.saplings.get(), 1, 2), achBOP)).registerAchievement(); + achBayou = (new Achievement(3086, "bop.achBayou", 0, -6, new ItemStack(Blocks.willow.get(), 1, 0), achBOP)).registerAchievement(); + achBirchForest = (new Achievement(3087, "bop.achBirchForest", 2, -6, new ItemStack(Block.sapling, 1, 2), achBOP)).registerAchievement(); + achBog = (new Achievement(3088, "bop.achBog", 4, -6, new ItemStack(Blocks.mushrooms.get(), 1, 2), achBOP)).registerAchievement(); + achBorealForest = (new Achievement(3089, "bop.achBorealForest", 6, -6, new ItemStack(Blocks.saplings.get(), 1, 1), achBOP)).registerAchievement(); + achBrushland = (new Achievement(3090, "bop.achBrushland", 8, -6, new ItemStack(Block.leaves, 1, 2), achBOP)).registerAchievement(); + achCanyon = (new Achievement(3091, "bop.achCanyon", 10, -6, new ItemStack(Blocks.hardDirt.get(), 1, 0), achBOP)).registerAchievement(); - achChaparral = (new Achievement(3092, "achChaparral", -10, -4, new ItemStack(Blocks.foliage.get(), 1, 4), achBOP)).registerAchievement(); - achCherryBlossom = (new Achievement(3093, "achCherryBlossom", -8, -4, new ItemStack(Blocks.saplings.get(), 1, 10), achBOP)).registerAchievement(); - achConiferousForest = (new Achievement(3094, "achConiferousForest", -6, -4, new ItemStack(Blocks.saplings.get(), 1, 6), achBOP)).registerAchievement(); - achConiferousForestSnow = (new Achievement(3096, "achConiferousForestSnow", -4, -4, new ItemStack(Blocks.saplings.get(), 1, 6), achBOP)).registerAchievement(); - achCrag = (new Achievement(3097, "achCrag", -2, -4, new ItemStack(Blocks.cragRock.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); - achDeadForest = (new Achievement(3098, "achDeadForest", 0, -4, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); - achDeadForestSnow = (new Achievement(3099, "achDeadForestSnow", 2, -4, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); - achDeadSwamp = (new Achievement(3100, "achDeadSwamp", 4, -4, new ItemStack(Blocks.logs3.get(), 1, 2), achBOP)).registerAchievement(); - achDeadlands = (new Achievement(3101, "achDeadlands", 6, -4, new ItemStack(Blocks.holyGrass.get(), 1, 1), achBOP)).registerAchievement().setSpecial(); - achDeciduousForest = (new Achievement(3102, "achDeciduousForest", 8, -4, new ItemStack(Blocks.foliage.get(), 1, 7), achBOP)).registerAchievement(); - achDunes = (new Achievement(3103, "achDunes", 10, -4, new ItemStack(Blocks.plants.get(), 1, 3), achBOP)).registerAchievement(); + achChaparral = (new Achievement(3092, "bop.achChaparral", -10, -4, new ItemStack(Blocks.foliage.get(), 1, 4), achBOP)).registerAchievement(); + achCherryBlossom = (new Achievement(3093, "bop.achCherryBlossom", -8, -4, new ItemStack(Blocks.saplings.get(), 1, 10), achBOP)).registerAchievement(); + achConiferousForest = (new Achievement(3094, "bop.achConiferousForest", -6, -4, new ItemStack(Blocks.saplings.get(), 1, 6), achBOP)).registerAchievement(); + achConiferousForestSnow = (new Achievement(3096, "bop.achConiferousForestSnow", -4, -4, new ItemStack(Blocks.saplings.get(), 1, 6), achBOP)).registerAchievement(); + achCrag = (new Achievement(3097, "bop.achCrag", -2, -4, new ItemStack(Blocks.cragRock.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); + achDeadForest = (new Achievement(3098, "bop.achDeadForest", 0, -4, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); + achDeadForestSnow = (new Achievement(3099, "bop.achDeadForestSnow", 2, -4, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); + achDeadSwamp = (new Achievement(3100, "bop.achDeadSwamp", 4, -4, new ItemStack(Blocks.logs3.get(), 1, 2), achBOP)).registerAchievement(); + achDeadlands = (new Achievement(3101, "bop.achDeadlands", 6, -4, new ItemStack(Blocks.holyGrass.get(), 1, 1), achBOP)).registerAchievement().setSpecial(); + achDeciduousForest = (new Achievement(3102, "bop.achDeciduousForest", 8, -4, new ItemStack(Blocks.foliage.get(), 1, 7), achBOP)).registerAchievement(); + achDunes = (new Achievement(3103, "bop.achDunes", 10, -4, new ItemStack(Blocks.plants.get(), 1, 3), achBOP)).registerAchievement(); - achFen = (new Achievement(3104, "achFen", -10, -2, new ItemStack(Blocks.plants.get(), 1, 8), achBOP)).registerAchievement(); - achField = (new Achievement(3105, "achField", -8, -2, new ItemStack(Block.tallGrass, 1, 1), achBOP)).registerAchievement(); - achFrostForest = (new Achievement(3106, "achFrostForest", -6, -2, new ItemStack(Blocks.flowers2.get(), 1, 7), achBOP)).registerAchievement(); - achFungiForest = (new Achievement(3107, "achFungiForest", -4, -2, new ItemStack(Blocks.mushrooms.get(), 1, 3), achBOP)).registerAchievement().setSpecial(); - achGarden = (new Achievement(3108, "achGarden", -2, -2, new ItemStack(Block.plantRed, 1, 1), achBOP)).registerAchievement().setSpecial(); - achGlacier = (new Achievement(3109, "achGlacier", 0, -2, new ItemStack(Blocks.hardIce.get(), 1, 0), achBOP)).registerAchievement(); - achGrassland = (new Achievement(3110, "achGrassland", 2, -2, new ItemStack(Block.grass, 1, 0), achBOP)).registerAchievement(); - achGrove = (new Achievement(3111, "achGrove", 4, -2, new ItemStack(Blocks.flowers.get(), 1, 0), achBOP)).registerAchievement(); - achHeathland = (new Achievement(3112, "achHeathland", 6, -2, new ItemStack(Blocks.saplings.get(), 1, 14), achBOP)).registerAchievement(); - achHighland = (new Achievement(3113, "achHighland", 8, -2, new ItemStack(Blocks.foliage.get(), 1, 3), achBOP)).registerAchievement(); - achHotSprings = (new Achievement(3114, "achHotSprings", 10, -2, new ItemStack(Fluids.bopBucket.get(), 1, 2), achBOP)).registerAchievement(); + achFen = (new Achievement(3104, "bop.achFen", -10, -2, new ItemStack(Blocks.plants.get(), 1, 8), achBOP)).registerAchievement(); + achField = (new Achievement(3105, "bop.achField", -8, -2, new ItemStack(Block.tallGrass, 1, 1), achBOP)).registerAchievement(); + achFrostForest = (new Achievement(3106, "bop.achFrostForest", -6, -2, new ItemStack(Blocks.flowers2.get(), 1, 7), achBOP)).registerAchievement(); + achFungiForest = (new Achievement(3107, "bop.achFungiForest", -4, -2, new ItemStack(Blocks.mushrooms.get(), 1, 3), achBOP)).registerAchievement().setSpecial(); + achGarden = (new Achievement(3108, "bop.achGarden", -2, -2, new ItemStack(Block.plantRed, 1, 1), achBOP)).registerAchievement().setSpecial(); + achGlacier = (new Achievement(3109, "bop.achGlacier", 0, -2, new ItemStack(Blocks.hardIce.get(), 1, 0), achBOP)).registerAchievement(); + achGrassland = (new Achievement(3110, "bop.achGrassland", 2, -2, new ItemStack(Block.grass, 1, 0), achBOP)).registerAchievement(); + achGrove = (new Achievement(3111, "bop.achGrove", 4, -2, new ItemStack(Blocks.flowers.get(), 1, 0), achBOP)).registerAchievement(); + achHeathland = (new Achievement(3112, "bop.achHeathland", 6, -2, new ItemStack(Blocks.saplings.get(), 1, 14), achBOP)).registerAchievement(); + achHighland = (new Achievement(3113, "bop.achHighland", 8, -2, new ItemStack(Blocks.foliage.get(), 1, 3), achBOP)).registerAchievement(); + achHotSprings = (new Achievement(3114, "bop.achHotSprings", 10, -2, new ItemStack(Fluids.bopBucket.get(), 1, 2), achBOP)).registerAchievement(); - achIcyHills = (new Achievement(3115, "achIcyHills", -10, 0, new ItemStack(Block.ice, 1, 0), achBOP)).registerAchievement().setSpecial(); - achJadeCliffs = (new Achievement(3116, "achJadeCliffs", -8, 0, new ItemStack(Blocks.colorizedSaplings.get(), 1, 5), achBOP)).registerAchievement().setSpecial(); - achLushDesert = (new Achievement(3117, "achLushDesert", -6, 0, new ItemStack(Blocks.plants.get(), 1, 1), achBOP)).registerAchievement(); - achLushSwamp = (new Achievement(3118, "achLushSwamp", -4, 0, new ItemStack(Blocks.ivy.get(), 1, 0), achBOP)).registerAchievement(); - achMangrove = (new Achievement(3119, "achMangrove", -2, 0, new ItemStack(Blocks.colorizedSaplings.get(), 1, 1), achBOP)).registerAchievement(); - achMapleWoods = (new Achievement(3120, "achMapleWoods", 0, 0, new ItemStack(Blocks.saplings.get(), 1, 11), achBOP)).registerAchievement(); - achMarsh = (new Achievement(3121, "achMarsh", 2, 0, new ItemStack(Blocks.plants.get(), 1, 14), achBOP)).registerAchievement(); - achMeadow = (new Achievement(3122, "achMeadow", 4, 0, new ItemStack(Blocks.flowers.get(), 1, 4), achBOP)).registerAchievement(); - achMesa = (new Achievement(3123, "achMesa", 6, 0, new ItemStack(Blocks.redRock.get(), 1, 0), achBOP)).registerAchievement(); - achMoor = (new Achievement(3124, "achMoor", 8, 0, new ItemStack(Blocks.flowers.get(), 1, 1), achBOP)).registerAchievement(); - achMountain = (new Achievement(3125, "achMountain", 10, 0, new ItemStack(Blocks.foliage.get(), 1, 8), achBOP)).registerAchievement(); + achIcyHills = (new Achievement(3115, "bop.achIcyHills", -10, 0, new ItemStack(Block.ice, 1, 0), achBOP)).registerAchievement().setSpecial(); + achJadeCliffs = (new Achievement(3116, "bop.achJadeCliffs", -8, 0, new ItemStack(Blocks.colorizedSaplings.get(), 1, 5), achBOP)).registerAchievement().setSpecial(); + achLushDesert = (new Achievement(3117, "bop.achLushDesert", -6, 0, new ItemStack(Blocks.plants.get(), 1, 1), achBOP)).registerAchievement(); + achLushSwamp = (new Achievement(3118, "bop.achLushSwamp", -4, 0, new ItemStack(Blocks.ivy.get(), 1, 0), achBOP)).registerAchievement(); + achMangrove = (new Achievement(3119, "bop.achMangrove", -2, 0, new ItemStack(Blocks.colorizedSaplings.get(), 1, 1), achBOP)).registerAchievement(); + achMapleWoods = (new Achievement(3120, "bop.achMapleWoods", 0, 0, new ItemStack(Blocks.saplings.get(), 1, 11), achBOP)).registerAchievement(); + achMarsh = (new Achievement(3121, "bop.achMarsh", 2, 0, new ItemStack(Blocks.plants.get(), 1, 14), achBOP)).registerAchievement(); + achMeadow = (new Achievement(3122, "bop.achMeadow", 4, 0, new ItemStack(Blocks.flowers.get(), 1, 4), achBOP)).registerAchievement(); + achMesa = (new Achievement(3123, "bop.achMesa", 6, 0, new ItemStack(Blocks.redRock.get(), 1, 0), achBOP)).registerAchievement(); + achMoor = (new Achievement(3124, "bop.achMoor", 8, 0, new ItemStack(Blocks.flowers.get(), 1, 1), achBOP)).registerAchievement(); + achMountain = (new Achievement(3125, "bop.achMountain", 10, 0, new ItemStack(Blocks.foliage.get(), 1, 8), achBOP)).registerAchievement(); - achMysticGrove = (new Achievement(3126, "achMysticGrove", -10, 2, new ItemStack(Blocks.flowers.get(), 1, 3), achBOP)).registerAchievement().setSpecial(); - achOasis = (new Achievement(3127, "achOasis", -8, 2, new ItemStack(Blocks.plants.get(), 1, 12), achBOP)).registerAchievement(); - achOminousWoods = (new Achievement(3128, "achOminousWoods", -6, 2, new ItemStack(Blocks.flowers.get(), 1, 2), achBOP)).registerAchievement().setSpecial(); - achOrchard = (new Achievement(3129, "achOrchard", -4, 2, new ItemStack(Blocks.saplings.get(), 1, 0), achBOP)).registerAchievement(); - achOriginValley = (new Achievement(3130, "achOriginValley", -2, 2, new ItemStack(Blocks.originGrass.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); - achOutback = (new Achievement(3131, "achOutback", -0, 2, new ItemStack(Blocks.hardSand.get(), 1, 0), achBOP)).registerAchievement(); - achOvergrownGreens = (new Achievement(3132, "achOvergrownGreens", 2, 2, new ItemStack(Blocks.foliage.get(), 1, 3), achBOP)).registerAchievement(); - achPasture = (new Achievement(3133, "achPasture", 4, 2, new ItemStack(Blocks.plants.get(), 1, 6), achBOP)).registerAchievement(); - achPolar = (new Achievement(3134, "achPolar", 6, 2, new ItemStack(Block.ice, 1, 0), achBOP)).registerAchievement(); - achPrairie = (new Achievement(3135, "achPrairie", 8, 2, new ItemStack(Blocks.flowers2.get(), 1, 4), achBOP)).registerAchievement(); - achQuagmire = (new Achievement(3136, "achQuagmire", 10, 2, new ItemStack(Items.mudball.get(), 1, 0), achBOP)).registerAchievement(); + achMysticGrove = (new Achievement(3126, "bop.achMysticGrove", -10, 2, new ItemStack(Blocks.flowers.get(), 1, 3), achBOP)).registerAchievement().setSpecial(); + achOasis = (new Achievement(3127, "bop.achOasis", -8, 2, new ItemStack(Blocks.plants.get(), 1, 12), achBOP)).registerAchievement(); + achOminousWoods = (new Achievement(3128, "bop.achOminousWoods", -6, 2, new ItemStack(Blocks.flowers.get(), 1, 2), achBOP)).registerAchievement().setSpecial(); + achOrchard = (new Achievement(3129, "bop.achOrchard", -4, 2, new ItemStack(Blocks.saplings.get(), 1, 0), achBOP)).registerAchievement(); + achOriginValley = (new Achievement(3130, "bop.achOriginValley", -2, 2, new ItemStack(Blocks.originGrass.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); + achOutback = (new Achievement(3131, "bop.achOutback", -0, 2, new ItemStack(Blocks.hardSand.get(), 1, 0), achBOP)).registerAchievement(); + achOvergrownGreens = (new Achievement(3132, "bop.achOvergrownGreens", 2, 2, new ItemStack(Blocks.foliage.get(), 1, 3), achBOP)).registerAchievement(); + achPasture = (new Achievement(3133, "bop.achPasture", 4, 2, new ItemStack(Blocks.plants.get(), 1, 6), achBOP)).registerAchievement(); + achPolar = (new Achievement(3134, "bop.achPolar", 6, 2, new ItemStack(Block.ice, 1, 0), achBOP)).registerAchievement(); + achPrairie = (new Achievement(3135, "bop.achPrairie", 8, 2, new ItemStack(Blocks.flowers2.get(), 1, 4), achBOP)).registerAchievement(); + achQuagmire = (new Achievement(3136, "bop.achQuagmire", 10, 2, new ItemStack(Items.mudball.get(), 1, 0), achBOP)).registerAchievement(); - achRainforest = (new Achievement(3137, "achRainforest", -10, 4, new ItemStack(Blocks.flowers.get(), 1, 6), achBOP)).registerAchievement(); - achRedwoodForest = (new Achievement(3138, "achRedwoodForest", -8, 4, new ItemStack(Blocks.colorizedSaplings.get(), 1, 3), achBOP)).registerAchievement(); - achSacredSprings = (new Achievement(3139, "achSacredSprings", -6, 4, new ItemStack(Block.waterlily, 1, 0), achBOP)).registerAchievement().setSpecial(); - achSavanna = (new Achievement(3140, "achSavanna", -4, 4, new ItemStack(Blocks.colorizedSaplings.get(), 1, 0), achBOP)).registerAchievement(); - achScrubland = (new Achievement(3141, "achScrubland", -2, 4, new ItemStack(Block.tallGrass, 1, 0), achBOP)).registerAchievement(); - achSeasonalForest = (new Achievement(3142, "achSeasonalForest", 0, 4, new ItemStack(Blocks.saplings.get(), 1, 8), achBOP)).registerAchievement(); - achShield = (new Achievement(3143, "achShield", 2, 4, new ItemStack(Blocks.moss.get(), 1, 0), achBOP)).registerAchievement(); - achShrubland = (new Achievement(3144, "achShrubland", 4, 4, new ItemStack(Blocks.foliage.get(), 1, 9), achBOP)).registerAchievement(); - achSilkglades = (new Achievement(3145, "achSilkglades", 6, 4, new ItemStack(Block.web, 1, 0), achBOP)).registerAchievement(); - achSludgepit = (new Achievement(3146, "achSludgepit", 8, 4, new ItemStack(Blocks.foliage.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); - achSpruceWoods = (new Achievement(3147, "achSpruceWoods", 10, 4, new ItemStack(Blocks.flowers2.get(), 1, 5), achBOP)).registerAchievement(); + achRainforest = (new Achievement(3137, "bop.achRainforest", -10, 4, new ItemStack(Blocks.flowers.get(), 1, 6), achBOP)).registerAchievement(); + achRedwoodForest = (new Achievement(3138, "bop.achRedwoodForest", -8, 4, new ItemStack(Blocks.colorizedSaplings.get(), 1, 3), achBOP)).registerAchievement(); + achSacredSprings = (new Achievement(3139, "bop.achSacredSprings", -6, 4, new ItemStack(Block.waterlily, 1, 0), achBOP)).registerAchievement().setSpecial(); + achSavanna = (new Achievement(3140, "bop.achSavanna", -4, 4, new ItemStack(Blocks.colorizedSaplings.get(), 1, 0), achBOP)).registerAchievement(); + achScrubland = (new Achievement(3141, "bop.achScrubland", -2, 4, new ItemStack(Block.tallGrass, 1, 0), achBOP)).registerAchievement(); + achSeasonalForest = (new Achievement(3142, "bop.achSeasonalForest", 0, 4, new ItemStack(Blocks.saplings.get(), 1, 8), achBOP)).registerAchievement(); + achShield = (new Achievement(3143, "bop.achShield", 2, 4, new ItemStack(Blocks.moss.get(), 1, 0), achBOP)).registerAchievement(); + achShrubland = (new Achievement(3144, "bop.achShrubland", 4, 4, new ItemStack(Blocks.foliage.get(), 1, 9), achBOP)).registerAchievement(); + achSilkglades = (new Achievement(3145, "bop.achSilkglades", 6, 4, new ItemStack(Block.web, 1, 0), achBOP)).registerAchievement(); + achSludgepit = (new Achievement(3146, "bop.achSludgepit", 8, 4, new ItemStack(Blocks.foliage.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); + achSpruceWoods = (new Achievement(3147, "bop.achSpruceWoods", 10, 4, new ItemStack(Blocks.flowers2.get(), 1, 5), achBOP)).registerAchievement(); - achSteppe = (new Achievement(3148, "achSteppe", -10, 6, new ItemStack(Blocks.flowers.get(), 1, 12), achBOP)).registerAchievement(); - achTemperateRainforest = (new Achievement(3149, "achTemperateRainforest", -8, 6, new ItemStack(Block.tallGrass, 1, 2), achBOP)).registerAchievement(); - achThicket = (new Achievement(3150, "achThicket", -6, 6, new ItemStack(Blocks.plants.get(), 1, 5), achBOP)).registerAchievement(); - achTimber = (new Achievement(3151, "achTimber", -4, 6, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); - achTropicalRainforest = (new Achievement(3152, "achTropicalRainforest", -2, 6, new ItemStack(Blocks.flowers.get(), 1, 5), achBOP)).registerAchievement(); - achTropics = (new Achievement(3153, "achTropics", 0, 6, new ItemStack(Blocks.colorizedSaplings.get(), 1, 2), achBOP)).registerAchievement(); - achTundra = (new Achievement(3154, "achTundra", 2, 6, new ItemStack(Block.gravel, 1, 0), achBOP)).registerAchievement(); - achVolcano = (new Achievement(3155, "achVolcano", 4, 6, new ItemStack(Blocks.ash.get(), 1, 0), achBOP)).registerAchievement(); - achWasteland = (new Achievement(3156, "achWasteland", 6, 6, new ItemStack(Blocks.driedDirt.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); - achWetland = (new Achievement(3157, "achWetland", 8, 6, new ItemStack(Blocks.plants.get(), 1, 7), achBOP)).registerAchievement(); - achWoodland = (new Achievement(3158, "achWoodland", 10, 6, new ItemStack(Blocks.mushrooms.get(), 1, 0), achBOP)).registerAchievement(); + achSteppe = (new Achievement(3148, "bop.achSteppe", -10, 6, new ItemStack(Blocks.flowers.get(), 1, 12), achBOP)).registerAchievement(); + achTemperateRainforest = (new Achievement(3149, "bop.achTemperateRainforest", -8, 6, new ItemStack(Block.tallGrass, 1, 2), achBOP)).registerAchievement(); + achThicket = (new Achievement(3150, "bop.achThicket", -6, 6, new ItemStack(Blocks.plants.get(), 1, 5), achBOP)).registerAchievement(); + achTimber = (new Achievement(3151, "bop.achTimber", -4, 6, new ItemStack(Blocks.saplings.get(), 1, 5), achBOP)).registerAchievement(); + achTropicalRainforest = (new Achievement(3152, "bop.achTropicalRainforest", -2, 6, new ItemStack(Blocks.flowers.get(), 1, 5), achBOP)).registerAchievement(); + achTropics = (new Achievement(3153, "bop.achTropics", 0, 6, new ItemStack(Blocks.colorizedSaplings.get(), 1, 2), achBOP)).registerAchievement(); + achTundra = (new Achievement(3154, "bop.achTundra", 2, 6, new ItemStack(Block.gravel, 1, 0), achBOP)).registerAchievement(); + achVolcano = (new Achievement(3155, "bop.achVolcano", 4, 6, new ItemStack(Blocks.ash.get(), 1, 0), achBOP)).registerAchievement(); + achWasteland = (new Achievement(3156, "bop.achWasteland", 6, 6, new ItemStack(Blocks.driedDirt.get(), 1, 0), achBOP)).registerAchievement().setSpecial(); + achWetland = (new Achievement(3157, "bop.achWetland", 8, 6, new ItemStack(Blocks.plants.get(), 1, 7), achBOP)).registerAchievement(); + achWoodland = (new Achievement(3158, "bop.achWoodland", 10, 6, new ItemStack(Blocks.mushrooms.get(), 1, 0), achBOP)).registerAchievement(); - achDesert = (new Achievement(3159, "achDesert", -10, 8, new ItemStack(Block.sand, 1, 0), achBOP)).registerAchievement(); - achExtremeHills = (new Achievement(3160, "achExtremeHills", -8, 8, new ItemStack(Blocks.flowers.get(), 1, 8), achBOP)).registerAchievement(); - achForest = (new Achievement(3161, "achForest", -6, 8, new ItemStack(Block.sapling, 1, 0), achBOP)).registerAchievement(); - achIcePlains = (new Achievement(3162, "achIcePlains", -4, 8, new ItemStack(Block.blockSnow, 1, 0), achBOP)).registerAchievement(); - achJungle = (new Achievement(3163, "achJungle", -2, 8, new ItemStack(Block.sapling, 1, 3), achBOP)).registerAchievement(); - achMushroomIsland = (new Achievement(3164, "achMushroomIsland", 0, 8, new ItemStack(Block.mushroomRed, 1, 0), achBOP)).registerAchievement().setSpecial(); - achPlains = (new Achievement(3165, "achPlains",2, 8, new ItemStack(Blocks.flowers.get(), 1, 13), achBOP)).registerAchievement(); - achSwampland = (new Achievement(3166, "achSwampland", 4, 8, new ItemStack(Blocks.colorizedSaplings.get(), 1, 4), achBOP)).registerAchievement(); - achTaiga = (new Achievement(3167, "achTaiga", 6, 8, new ItemStack(Block.sapling, 1, 1), achBOP)).registerAchievement(); - achAllBiomes = (new Achievement(3081, "achAllBiomes", 8, 8, new ItemStack(Items.food.get(), 1, 7), null)).registerAchievement().setSpecial(); - achPromised = (new Achievement(3168, "achPromised", 10, 8, new ItemStack(Blocks.holyGrass.get(), 1, 0), null)).registerAchievement().setSpecial(); - achSacrifice = (new Achievement(3169, "achSacrifice", 0, 10, new ItemStack(Items.miscItems.get(), 1, 16), null)).registerAchievement().setSpecial(); + achDesert = (new Achievement(3159, "bop.achDesert", -10, 8, new ItemStack(Block.sand, 1, 0), achBOP)).registerAchievement(); + achExtremeHills = (new Achievement(3160, "bop.achExtremeHills", -8, 8, new ItemStack(Blocks.flowers.get(), 1, 8), achBOP)).registerAchievement(); + achForest = (new Achievement(3161, "bop.achForest", -6, 8, new ItemStack(Block.sapling, 1, 0), achBOP)).registerAchievement(); + achIcePlains = (new Achievement(3162, "bop.achIcePlains", -4, 8, new ItemStack(Block.blockSnow, 1, 0), achBOP)).registerAchievement(); + achJungle = (new Achievement(3163, "bop.achJungle", -2, 8, new ItemStack(Block.sapling, 1, 3), achBOP)).registerAchievement(); + achMushroomIsland = (new Achievement(3164, "bop.achMushroomIsland", 0, 8, new ItemStack(Block.mushroomRed, 1, 0), achBOP)).registerAchievement().setSpecial(); + achPlains = (new Achievement(3165, "bop.achPlains",2, 8, new ItemStack(Blocks.flowers.get(), 1, 13), achBOP)).registerAchievement(); + achSwampland = (new Achievement(3166, "bop.achSwampland", 4, 8, new ItemStack(Blocks.colorizedSaplings.get(), 1, 4), achBOP)).registerAchievement(); + achTaiga = (new Achievement(3167, "bop.achTaiga", 6, 8, new ItemStack(Block.sapling, 1, 1), achBOP)).registerAchievement(); + achAllBiomes = (new Achievement(3081, "bop.achAllBiomes", 8, 8, new ItemStack(Items.food.get(), 1, 7), null)).registerAchievement().setSpecial(); + achPromised = (new Achievement(3168, "bop.achPromised", 10, 8, new ItemStack(Blocks.holyGrass.get(), 1, 0), null)).registerAchievement().setSpecial(); + achSacrifice = (new Achievement(3169, "bop.achSacrifice", 0, 10, new ItemStack(Items.miscItems.get(), 1, 16), null)).registerAchievement().setSpecial(); biomeFinderAchievementList = new Achievement[] { achBOP, achAlps, achArctic, achBadlands, achBambooForest, achBayou, achBirchForest, achBog, achBorealForest, achBrushland, achCanyon, achChaparral, achCherryBlossom, achConiferousForest, achConiferousForestSnow, achCrag, achDeadForest, achDeadForestSnow, achDeadSwamp, achDeadlands, achDeciduousForest, achDunes, achFen, achField, achFrostForest, achFungiForest, achGarden, achGlacier, achGrassland, achGrove, achHeathland, achHighland, achHotSprings, achIcyHills, @@ -230,22 +230,6 @@ public class AchievementHelper AchievementPage.registerAchievementPage(pageBiome); // Add Achievement registration - addAchievementDesc("achBOP", "Biomes O\' Plenty", "Let the fun begin!"); - addAchievementDesc("achAllBiomes", "All Biomes Found!", "You've been to every biome!"); - - addAchievementDesc("achAlps", "Alps", "Biome Found!"); - addAchievementDesc("achArctic", "Arctic", "Biome Found!"); - addAchievementDesc("achBadlands", "Badlands", "Biome Found!"); - addAchievementDesc("achBambooForest", "Bamboo Forest", "Biome Found!"); - addAchievementDesc("achBayou", "Bayou", "Biome Found!"); - addAchievementDesc("achBirchForest", "Birch Forest", "Biome Found!"); - addAchievementDesc("achBog", "Bog", "Biome Found!"); - addAchievementDesc("achBorealForest", "Boreal Forest", "Biome Found!"); - addAchievementDesc("achBrushland", "Brushland", "Biome Found!"); - addAchievementDesc("achCanyon", "Canyon", "Biome Found!"); - addAchievementDesc("achChaparral", "Chaparral", "Biome Found!"); - addAchievementDesc("achCherryBlossom", "Cherry Blossom Grove", "Biome Found!"); - addAchievementDesc("achConiferousForest", "Coniferous Forest", "Biome Found!"); addAchievementDesc("achConiferousForestSnow", "Snowy Coniferous Forest", "Biome Found!"); addAchievementDesc("achCrag", "Crag", "Biome Found!"); @@ -355,7 +339,7 @@ public class AchievementHelper } else { - player.addStat(AchievementHelper.achAllBiomes, 1); + player.addStat(BOPAchievements.achAllBiomes, 1); break; } } @@ -363,557 +347,557 @@ public class AchievementHelper if (biomeID == Biomes.alps.get().biomeID) { - player.addStat(AchievementHelper.achAlps, 1); + player.addStat(BOPAchievements.achAlps, 1); } if (biomeID == Biomes.alpsForest.get().biomeID) { - player.addStat(AchievementHelper.achAlps, 1); + player.addStat(BOPAchievements.achAlps, 1); } if (biomeID == Biomes.alpsBase.get().biomeID) { - player.addStat(AchievementHelper.achAlps, 1); + player.addStat(BOPAchievements.achAlps, 1); } if (biomeID == Biomes.arctic.get().biomeID) { - player.addStat(AchievementHelper.achArctic, 1); + player.addStat(BOPAchievements.achArctic, 1); } if (biomeID == Biomes.badlands.get().biomeID) { - player.addStat(AchievementHelper.achBadlands, 1); + player.addStat(BOPAchievements.achBadlands, 1); } if (biomeID == Biomes.bambooForest.get().biomeID) { - player.addStat(AchievementHelper.achBambooForest, 1); + player.addStat(BOPAchievements.achBambooForest, 1); } if (biomeID == Biomes.bayou.get().biomeID) { - player.addStat(AchievementHelper.achBayou, 1); + player.addStat(BOPAchievements.achBayou, 1); } if (biomeID == Biomes.birchForest.get().biomeID) { - player.addStat(AchievementHelper.achBirchForest, 1); + player.addStat(BOPAchievements.achBirchForest, 1); } if (biomeID == Biomes.bog.get().biomeID) { - player.addStat(AchievementHelper.achBog, 1); + player.addStat(BOPAchievements.achBog, 1); } if (biomeID == Biomes.borealForest.get().biomeID) { - player.addStat(AchievementHelper.achBorealForest, 1); + player.addStat(BOPAchievements.achBorealForest, 1); } if (biomeID == Biomes.brushland.get().biomeID) { - player.addStat(AchievementHelper.achBrushland, 1); + player.addStat(BOPAchievements.achBrushland, 1); } if (biomeID == Biomes.canyon.get().biomeID) { - player.addStat(AchievementHelper.achCanyon, 1); + player.addStat(BOPAchievements.achCanyon, 1); } if (biomeID == Biomes.canyonRavine.get().biomeID) { - player.addStat(AchievementHelper.achCanyon, 1); + player.addStat(BOPAchievements.achCanyon, 1); } if (biomeID == Biomes.chaparral.get().biomeID) { - player.addStat(AchievementHelper.achChaparral, 1); + player.addStat(BOPAchievements.achChaparral, 1); } if (biomeID == Biomes.cherryBlossomGrove.get().biomeID) { - player.addStat(AchievementHelper.achCherryBlossom, 1); + player.addStat(BOPAchievements.achCherryBlossom, 1); } if (biomeID == Biomes.coniferousForest.get().biomeID) { - player.addStat(AchievementHelper.achConiferousForest, 1); + player.addStat(BOPAchievements.achConiferousForest, 1); } if (biomeID == Biomes.coniferousForestSnow.get().biomeID) { - player.addStat(AchievementHelper.achConiferousForestSnow, 1); + player.addStat(BOPAchievements.achConiferousForestSnow, 1); } if (biomeID == Biomes.crag.get().biomeID) { - player.addStat(AchievementHelper.achCrag, 1); + player.addStat(BOPAchievements.achCrag, 1); } if (biomeID == Biomes.deadForest.get().biomeID) { - player.addStat(AchievementHelper.achDeadForest, 1); + player.addStat(BOPAchievements.achDeadForest, 1); } if (biomeID == Biomes.deadForestSnow.get().biomeID) { - player.addStat(AchievementHelper.achDeadForestSnow, 1); + player.addStat(BOPAchievements.achDeadForestSnow, 1); } if (biomeID == Biomes.deadSwamp.get().biomeID) { - player.addStat(AchievementHelper.achDeadSwamp, 1); + player.addStat(BOPAchievements.achDeadSwamp, 1); } if (biomeID == Biomes.deadlands.get().biomeID) { - player.addStat(AchievementHelper.achDeadlands, 1); + player.addStat(BOPAchievements.achDeadlands, 1); } if (biomeID == Biomes.deciduousForest.get().biomeID) { - player.addStat(AchievementHelper.achDeciduousForest, 1); + player.addStat(BOPAchievements.achDeciduousForest, 1); } if (biomeID == Biomes.dunes.get().biomeID) { - player.addStat(AchievementHelper.achDunes, 1); + player.addStat(BOPAchievements.achDunes, 1); } if (biomeID == Biomes.fen.get().biomeID) { - player.addStat(AchievementHelper.achFen, 1); + player.addStat(BOPAchievements.achFen, 1); } if (biomeID == Biomes.field.get().biomeID) { - player.addStat(AchievementHelper.achField, 1); + player.addStat(BOPAchievements.achField, 1); } if (biomeID == Biomes.frostForest.get().biomeID) { - player.addStat(AchievementHelper.achFrostForest, 1); + player.addStat(BOPAchievements.achFrostForest, 1); } if (biomeID == Biomes.fungiForest.get().biomeID) { - player.addStat(AchievementHelper.achFungiForest, 1); + player.addStat(BOPAchievements.achFungiForest, 1); } if (biomeID == Biomes.garden.get().biomeID) { - player.addStat(AchievementHelper.achGarden, 1); + player.addStat(BOPAchievements.achGarden, 1); } if (biomeID == Biomes.glacier.get().biomeID) { - player.addStat(AchievementHelper.achGlacier, 1); + player.addStat(BOPAchievements.achGlacier, 1); } if (biomeID == Biomes.grassland.get().biomeID) { - player.addStat(AchievementHelper.achGrassland, 1); + player.addStat(BOPAchievements.achGrassland, 1); } if (biomeID == Biomes.grove.get().biomeID) { - player.addStat(AchievementHelper.achGrove, 1); + player.addStat(BOPAchievements.achGrove, 1); } if (biomeID == Biomes.heathland.get().biomeID) { - player.addStat(AchievementHelper.achHeathland, 1); + player.addStat(BOPAchievements.achHeathland, 1); } if (biomeID == Biomes.highland.get().biomeID) { - player.addStat(AchievementHelper.achHighland, 1); + player.addStat(BOPAchievements.achHighland, 1); } if (biomeID == Biomes.hotSprings.get().biomeID) { - player.addStat(AchievementHelper.achHotSprings, 1); + player.addStat(BOPAchievements.achHotSprings, 1); } if (biomeID == Biomes.icyHills.get().biomeID) { - player.addStat(AchievementHelper.achIcyHills, 1); + player.addStat(BOPAchievements.achIcyHills, 1); } if (biomeID == Biomes.jadeCliffs.get().biomeID) { - player.addStat(AchievementHelper.achJadeCliffs, 1); + player.addStat(BOPAchievements.achJadeCliffs, 1); } if (biomeID == Biomes.lushDesert.get().biomeID) { - player.addStat(AchievementHelper.achLushDesert, 1); + player.addStat(BOPAchievements.achLushDesert, 1); } if (biomeID == Biomes.lushSwamp.get().biomeID) { - player.addStat(AchievementHelper.achLushSwamp, 1); + player.addStat(BOPAchievements.achLushSwamp, 1); } if (biomeID == Biomes.mangrove.get().biomeID) { - player.addStat(AchievementHelper.achMangrove, 1); + player.addStat(BOPAchievements.achMangrove, 1); } if (biomeID == Biomes.mapleWoods.get().biomeID) { - player.addStat(AchievementHelper.achMapleWoods, 1); + player.addStat(BOPAchievements.achMapleWoods, 1); } if (biomeID == Biomes.marsh.get().biomeID) { - player.addStat(AchievementHelper.achMarsh, 1); + player.addStat(BOPAchievements.achMarsh, 1); } if (biomeID == Biomes.meadow.get().biomeID) { - player.addStat(AchievementHelper.achMeadow, 1); + player.addStat(BOPAchievements.achMeadow, 1); } if (biomeID == Biomes.meadowForest.get().biomeID) { - player.addStat(AchievementHelper.achMeadow, 1); + player.addStat(BOPAchievements.achMeadow, 1); } if (biomeID == Biomes.mesa.get().biomeID) { - player.addStat(AchievementHelper.achMesa, 1); + player.addStat(BOPAchievements.achMesa, 1); } if (biomeID == Biomes.moor.get().biomeID) { - player.addStat(AchievementHelper.achMoor, 1); + player.addStat(BOPAchievements.achMoor, 1); } if (biomeID == Biomes.mountain.get().biomeID) { - player.addStat(AchievementHelper.achMountain, 1); + player.addStat(BOPAchievements.achMountain, 1); } if (biomeID == Biomes.mysticGrove.get().biomeID) { - player.addStat(AchievementHelper.achMysticGrove, 1); + player.addStat(BOPAchievements.achMysticGrove, 1); } if (biomeID == Biomes.oasis.get().biomeID) { - player.addStat(AchievementHelper.achOasis, 1); + player.addStat(BOPAchievements.achOasis, 1); } if (biomeID == Biomes.ominousWoods.get().biomeID) { - player.addStat(AchievementHelper.achOminousWoods, 1); + player.addStat(BOPAchievements.achOminousWoods, 1); } if (biomeID == Biomes.ominousWoodsThick.get().biomeID) { - player.addStat(AchievementHelper.achOminousWoods, 1); + player.addStat(BOPAchievements.achOminousWoods, 1); } if (biomeID == Biomes.orchard.get().biomeID) { - player.addStat(AchievementHelper.achOrchard, 1); + player.addStat(BOPAchievements.achOrchard, 1); } if (biomeID == Biomes.originValley.get().biomeID) { - player.addStat(AchievementHelper.achOriginValley, 1); + player.addStat(BOPAchievements.achOriginValley, 1); } if (biomeID == Biomes.outback.get().biomeID) { - player.addStat(AchievementHelper.achOutback, 1); + player.addStat(BOPAchievements.achOutback, 1); } if (biomeID == Biomes.overgrownGreens.get().biomeID) { - player.addStat(AchievementHelper.achOvergrownGreens, 1); + player.addStat(BOPAchievements.achOvergrownGreens, 1); } if (biomeID == Biomes.pasture.get().biomeID) { - player.addStat(AchievementHelper.achPasture, 1); + player.addStat(BOPAchievements.achPasture, 1); } if (biomeID == Biomes.pastureMeadow.get().biomeID) { - player.addStat(AchievementHelper.achPasture, 1); + player.addStat(BOPAchievements.achPasture, 1); } if (biomeID == Biomes.pastureThin.get().biomeID) { - player.addStat(AchievementHelper.achPasture, 1); + player.addStat(BOPAchievements.achPasture, 1); } if (biomeID == Biomes.polar.get().biomeID) { - player.addStat(AchievementHelper.achPolar, 1); + player.addStat(BOPAchievements.achPolar, 1); } if (biomeID == Biomes.prairie.get().biomeID) { - player.addStat(AchievementHelper.achPrairie, 1); + player.addStat(BOPAchievements.achPrairie, 1); } if (biomeID == Biomes.quagmire.get().biomeID) { - player.addStat(AchievementHelper.achQuagmire, 1); + player.addStat(BOPAchievements.achQuagmire, 1); } if (biomeID == Biomes.rainforest.get().biomeID) { - player.addStat(AchievementHelper.achRainforest, 1); + player.addStat(BOPAchievements.achRainforest, 1); } if (biomeID == Biomes.redwoodForest.get().biomeID) { - player.addStat(AchievementHelper.achRedwoodForest, 1); + player.addStat(BOPAchievements.achRedwoodForest, 1); } if (biomeID == Biomes.sacredSprings.get().biomeID) { - player.addStat(AchievementHelper.achSacredSprings, 1); + player.addStat(BOPAchievements.achSacredSprings, 1); } if (biomeID == Biomes.savanna.get().biomeID) { - player.addStat(AchievementHelper.achSavanna, 1); + player.addStat(BOPAchievements.achSavanna, 1); } if (biomeID == Biomes.scrubland.get().biomeID) { - player.addStat(AchievementHelper.achScrubland, 1); + player.addStat(BOPAchievements.achScrubland, 1); } if (biomeID == Biomes.seasonalForest.get().biomeID) { - player.addStat(AchievementHelper.achSeasonalForest, 1); + player.addStat(BOPAchievements.achSeasonalForest, 1); } if (biomeID == Biomes.seasonalSpruceForest.get().biomeID) { - player.addStat(AchievementHelper.achSeasonalForest, 1); + player.addStat(BOPAchievements.achSeasonalForest, 1); } if (biomeID == Biomes.shield.get().biomeID) { - player.addStat(AchievementHelper.achShield, 1); + player.addStat(BOPAchievements.achShield, 1); } if (biomeID == Biomes.shrubland.get().biomeID) { - player.addStat(AchievementHelper.achShrubland, 1); + player.addStat(BOPAchievements.achShrubland, 1); } if (biomeID == Biomes.shrublandForest.get().biomeID) { - player.addStat(AchievementHelper.achShrubland, 1); + player.addStat(BOPAchievements.achShrubland, 1); } if (biomeID == Biomes.silkglades.get().biomeID) { - player.addStat(AchievementHelper.achSilkglades, 1); + player.addStat(BOPAchievements.achSilkglades, 1); } if (biomeID == Biomes.sludgepit.get().biomeID) { - player.addStat(AchievementHelper.achSludgepit, 1); + player.addStat(BOPAchievements.achSludgepit, 1); } if (biomeID == Biomes.spruceWoods.get().biomeID) { - player.addStat(AchievementHelper.achSpruceWoods, 1); + player.addStat(BOPAchievements.achSpruceWoods, 1); } if (biomeID == Biomes.steppe.get().biomeID) { - player.addStat(AchievementHelper.achSteppe, 1); + player.addStat(BOPAchievements.achSteppe, 1); } if (biomeID == Biomes.temperateRainforest.get().biomeID) { - player.addStat(AchievementHelper.achTemperateRainforest, 1); + player.addStat(BOPAchievements.achTemperateRainforest, 1); } if (biomeID == Biomes.thicket.get().biomeID) { - player.addStat(AchievementHelper.achThicket, 1); + player.addStat(BOPAchievements.achThicket, 1); } if (biomeID == Biomes.timber.get().biomeID) { - player.addStat(AchievementHelper.achTimber, 1); + player.addStat(BOPAchievements.achTimber, 1); } if (biomeID == Biomes.timberThin.get().biomeID) { - player.addStat(AchievementHelper.achTimber, 1); + player.addStat(BOPAchievements.achTimber, 1); } if (biomeID == Biomes.tropicalRainforest.get().biomeID) { - player.addStat(AchievementHelper.achTropicalRainforest, 1); + player.addStat(BOPAchievements.achTropicalRainforest, 1); } if (biomeID == Biomes.tropics.get().biomeID) { - player.addStat(AchievementHelper.achTropics, 1); + player.addStat(BOPAchievements.achTropics, 1); } if (biomeID == Biomes.tundra.get().biomeID) { - player.addStat(AchievementHelper.achTundra, 1); + player.addStat(BOPAchievements.achTundra, 1); } if (biomeID == Biomes.volcano.get().biomeID) { - player.addStat(AchievementHelper.achVolcano, 1); + player.addStat(BOPAchievements.achVolcano, 1); } if (biomeID == Biomes.wasteland.get().biomeID) { - player.addStat(AchievementHelper.achWasteland, 1); + player.addStat(BOPAchievements.achWasteland, 1); } if (biomeID == Biomes.wetland.get().biomeID) { - player.addStat(AchievementHelper.achWetland, 1); + player.addStat(BOPAchievements.achWetland, 1); } if (biomeID == Biomes.woodland.get().biomeID) { - player.addStat(AchievementHelper.achWoodland, 1); + player.addStat(BOPAchievements.achWoodland, 1); } if (biomeID == Biomes.desertNew.get().biomeID) { - player.addStat(AchievementHelper.achDesert, 1); + player.addStat(BOPAchievements.achDesert, 1); } if (biomeID == BiomeGenBase.desert.biomeID) { - player.addStat(AchievementHelper.achDesert, 1); + player.addStat(BOPAchievements.achDesert, 1); } if (biomeID == BiomeGenBase.desertHills.biomeID) { - player.addStat(AchievementHelper.achDesert, 1); + player.addStat(BOPAchievements.achDesert, 1); } if (biomeID == Biomes.extremeHillsNew.get().biomeID) { - player.addStat(AchievementHelper.achExtremeHills, 1); + player.addStat(BOPAchievements.achExtremeHills, 1); } if (biomeID == BiomeGenBase.extremeHills.biomeID) { - player.addStat(AchievementHelper.achExtremeHills, 1); + player.addStat(BOPAchievements.achExtremeHills, 1); } if (biomeID == BiomeGenBase.extremeHillsEdge.biomeID) { - player.addStat(AchievementHelper.achExtremeHills, 1); + player.addStat(BOPAchievements.achExtremeHills, 1); } if (biomeID == Biomes.forestNew.get().biomeID) { - player.addStat(AchievementHelper.achForest, 1); + player.addStat(BOPAchievements.achForest, 1); } if (biomeID == Biomes.forestHillsNew.get().biomeID) { - player.addStat(AchievementHelper.achForest, 1); + player.addStat(BOPAchievements.achForest, 1); } if (biomeID == BiomeGenBase.forest.biomeID) { - player.addStat(AchievementHelper.achForest, 1); + player.addStat(BOPAchievements.achForest, 1); } if (biomeID == BiomeGenBase.forestHills.biomeID) { - player.addStat(AchievementHelper.achForest, 1); + player.addStat(BOPAchievements.achForest, 1); } if (biomeID == BiomeGenBase.icePlains.biomeID) { - player.addStat(AchievementHelper.achIcePlains, 1); + player.addStat(BOPAchievements.achIcePlains, 1); } if (biomeID == BiomeGenBase.iceMountains.biomeID) { - player.addStat(AchievementHelper.achIcePlains, 1); + player.addStat(BOPAchievements.achIcePlains, 1); } if (biomeID == Biomes.jungleNew.get().biomeID) { - player.addStat(AchievementHelper.achJungle, 1); + player.addStat(BOPAchievements.achJungle, 1); } if (biomeID == Biomes.jungleHillsNew.get().biomeID) { - player.addStat(AchievementHelper.achJungle, 1); + player.addStat(BOPAchievements.achJungle, 1); } if (biomeID == BiomeGenBase.jungle.biomeID) { - player.addStat(AchievementHelper.achJungle, 1); + player.addStat(BOPAchievements.achJungle, 1); } if (biomeID == BiomeGenBase.jungleHills.biomeID) { - player.addStat(AchievementHelper.achJungle, 1); + player.addStat(BOPAchievements.achJungle, 1); } if (biomeID == BiomeGenBase.mushroomIsland.biomeID) { - player.addStat(AchievementHelper.achMushroomIsland, 1); + player.addStat(BOPAchievements.achMushroomIsland, 1); } if (biomeID == Biomes.plainsNew.get().biomeID) { - player.addStat(AchievementHelper.achPlains, 1); + player.addStat(BOPAchievements.achPlains, 1); } if (biomeID == Biomes.swamplandNew.get().biomeID) { - player.addStat(AchievementHelper.achSwampland, 1); + player.addStat(BOPAchievements.achSwampland, 1); } if (biomeID == Biomes.taigaNew.get().biomeID) { - player.addStat(AchievementHelper.achTaiga, 1); + player.addStat(BOPAchievements.achTaiga, 1); } if (biomeID == Biomes.taigaHillsNew.get().biomeID) { - player.addStat(AchievementHelper.achTaiga, 1); + player.addStat(BOPAchievements.achTaiga, 1); } if (biomeID == BiomeGenBase.taigaHills.biomeID) { - player.addStat(AchievementHelper.achTaiga, 1); + player.addStat(BOPAchievements.achTaiga, 1); } if (biomeID == Biomes.promisedLandForest.get().biomeID) { - player.addStat(AchievementHelper.achPromised, 1); + player.addStat(BOPAchievements.achPromised, 1); } if (biomeID == Biomes.promisedLandPlains.get().biomeID) { - player.addStat(AchievementHelper.achPromised, 1); + player.addStat(BOPAchievements.achPromised, 1); } if (biomeID == Biomes.promisedLandSwamp.get().biomeID) { - player.addStat(AchievementHelper.achPromised, 1); + player.addStat(BOPAchievements.achPromised, 1); } } } diff --git a/common/biomesoplenty/eventhandlers/EntityEventHandler.java b/common/biomesoplenty/eventhandlers/EntityEventHandler.java index 0e05ff2a6..5770ad638 100644 --- a/common/biomesoplenty/eventhandlers/EntityEventHandler.java +++ b/common/biomesoplenty/eventhandlers/EntityEventHandler.java @@ -27,9 +27,9 @@ import net.minecraftforge.event.entity.living.LivingHurtEvent; import net.minecraftforge.event.entity.player.EntityInteractEvent; import biomesoplenty.api.Blocks; import biomesoplenty.api.Items; +import biomesoplenty.configuration.BOPAchievements; import biomesoplenty.configuration.configfile.BOPConfigurationIDs; import biomesoplenty.entities.ai.EntityAITemptArmour; -import biomesoplenty.helpers.AchievementHelper; import biomesoplenty.helpers.TeleporterPromised; import biomesoplenty.world.WorldTypeBOP; import cpw.mods.fml.client.FMLClientHandler; @@ -109,7 +109,7 @@ public class EntityEventHandler { EntityPlayer player = (EntityPlayer)event.entity; - player.addStat(AchievementHelper.achBOP, 1); + player.addStat(BOPAchievements.achBOP, 1); } } } diff --git a/resources/assets/biomesoplenty/lang/en_US.lang b/resources/assets/biomesoplenty/lang/en_US.lang index 0738647cc..5a5f28ee5 100644 --- a/resources/assets/biomesoplenty/lang/en_US.lang +++ b/resources/assets/biomesoplenty/lang/en_US.lang @@ -384,6 +384,36 @@ entity.BiomesOPlenty.JungleSpider.name=Jungle Spider entity.BiomesOPlenty.Phantom.name=Phantom entity.BiomesOPlenty.Rosester.name=Rosester +achievement.bop.achBOP=Biomes O' Plenty +achievement.bop.achBOP.desc=Let the fun begin! +achievement.bop.achAllBiomes=All Biomes Found! +achievement.bop.achAllBiomes.desc=You've been to every biome! + +achievement.bop.achAlps=Alps +achievement.bop.achAlps.desc=Biome Found! +achievement.bop.achArctic=Arctic +achievement.bop.achArctic.desc=Biome Found! +achievement.bop.achBadlands=Badlands +achievement.bop.achBadlands.desc=Biome Found! +achievement.bop.achBambooForest=Bamboo Forest +achievement.bop.achBambooForest.desc=Biome Found! +achievement.bop.achBayou=Bayou +achievement.bop.achBayou.desc=Biome Found! +achievement.bop.achBirchForest=Birch Forest +achievement.bop.achBirchForest.desc=Biome Found! +achievement.bop.achBog=Bog +achievement.bop.achBog.desc=Biome Found! +achievement.bop.achBorealForest=Boreal Forest +achievement.bop.achBorealForest.desc=Biome Found! +achievement.bop.achBrushland=Brushland +achievement.bop.achBrushland.desc=Biome Found! +achievement.bop.achCanyon=Canyon +achievement.bop.achCanyon.desc=Biome Found! +achievement.bop.achChaparral=Chaparral +achievement.bop.achChaparral.desc=Biome Found! +achievement.bop.achCherryBlossom=Cherry Blossom Grove +achievement.bop.achCherryBlossom.desc=Biome Found! + itemGroup.tabBiomesOPlenty=Biomes O' Plenty generator.BIOMESOP=Biomes O' Plenty