From 44285b2b6bc71e97fb1c23467e2c6cc32f4cb96c Mon Sep 17 00:00:00 2001 From: GotoLink Date: Sat, 26 Oct 2013 14:00:47 +0200 Subject: [PATCH] Removed useless --- common/MysticOres/Util/Localizations.java | 1 + common/MysticOres/Util/RecipeManager.java | 2 +- common/MysticWorld/Lib/BlockIds.java | 62 +++++++---------------- 3 files changed, 19 insertions(+), 46 deletions(-) diff --git a/common/MysticOres/Util/Localizations.java b/common/MysticOres/Util/Localizations.java index c60e3c6..9a1b326 100644 --- a/common/MysticOres/Util/Localizations.java +++ b/common/MysticOres/Util/Localizations.java @@ -22,6 +22,7 @@ import cpw.mods.fml.common.registry.LanguageRegistry; * repository, many thanks friend c: * */ +@Deprecated(/* replaced by vanilla */) public class Localizations { private Localizations() { } diff --git a/common/MysticOres/Util/RecipeManager.java b/common/MysticOres/Util/RecipeManager.java index 89c4448..ee5db71 100644 --- a/common/MysticOres/Util/RecipeManager.java +++ b/common/MysticOres/Util/RecipeManager.java @@ -105,6 +105,6 @@ public class RecipeManager { ToolRecipes.AdvancedShovelRecipe(Items.BloodstoneShovel, OreDictManager.ORES[7]); ToolRecipes.AdvancedAxeRecipe(Items.BloodstoneAxe, OreDictManager.ORES[7]); ToolRecipes.AdvancedHoeRecipe(Items.BloodstoneHoe, OreDictManager.ORES[7]); - GameRegistry.addRecipe(new ItemStack(Items.Satchel, 1), "#$#", "$%$", "#$#", '#', Item.silk, '$', OreDictManager.INGOTS[9], '%', Block.enderChest); + GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.Satchel, 1), "#$#", "$%$", "#$#", '#', Item.silk, '$', OreDictManager.INGOTS[9], '%', Block.enderChest)); } } diff --git a/common/MysticWorld/Lib/BlockIds.java b/common/MysticWorld/Lib/BlockIds.java index e2b223f..76b3432 100644 --- a/common/MysticWorld/Lib/BlockIds.java +++ b/common/MysticWorld/Lib/BlockIds.java @@ -1,49 +1,21 @@ package mysticworld.lib; public class BlockIds { - - //Default Block IDs - public static int ORE_STONE_1_DEFAULT = 600; - - public static int BUSH_DEFAULT = 601; - public static int POISON_BUSH_DEFAULT = 602; - public static int WEAKNESS_BUSH_DEFAULT = 603; - public static int SLOWNESS_BUSH_DEFAULT = 604; - public static int HARMING_BUSH_DEFAULT = 605; - public static int WITHER_BUSH_DEFAULT = 606; - public static int HEALTH_BUSH_DEFAULT = 607; - public static int SPEED_BUSH_DEFAULT = 608; - public static int FIRE_RESISTANCE_BUSH_DEFAULT = 609; - public static int REGEN_BUSH_DEFAULT = 610; - public static int NIGHT_VISION_BUSH_DEFAULT = 611; - public static int INVISIBILITY_BUSH_DEFAULT = 612; - - public static int LIGHT_CUBE_DEFAULT = 613; - - public static int PLATFORM_DEFAULT = 614; - public static int PILLAR_DEFAULT = 615; - public static int PILLAR_INSERT_DEFAULT = 616; - - //Current Block IDs - public static int ORE_STONE_1; - - public static int BUSH; - public static int POISON_BUSH; - public static int WEAKNESS_BUSH; - public static int SLOWNESS_BUSH; - public static int HARMING_BUSH; - public static int WITHER_BUSH; - public static int HEALTH_BUSH; - public static int SPEED_BUSH; - public static int FIRE_RESISTANCE_BUSH; - public static int REGEN_BUSH; - public static int NIGHT_VISION_BUSH; - public static int INVISIBILITY_BUSH; - - public static int LIGHT_CUBE; - - public static int PLATFORM; - public static int PILLAR; - public static int PILLAR_INSERT; - + public static int ORE_STONE_1 = 600; + public static int BUSH = 601; + public static int POISON_BUSH = 602; + public static int WEAKNESS_BUSH = 603; + public static int SLOWNESS_BUSH = 604; + public static int HARMING_BUSH = 605; + public static int WITHER_BUSH = 606; + public static int HEALTH_BUSH = 607; + public static int SPEED_BUSH = 608; + public static int FIRE_RESISTANCE_BUSH = 609; + public static int REGEN_BUSH = 610; + public static int NIGHT_VISION_BUSH = 611; + public static int INVISIBILITY_BUSH = 612; + public static int LIGHT_CUBE = 613; + public static int PLATFORM = 614; + public static int PILLAR = 615; + public static int PILLAR_INSERT = 616; }