diff --git a/src/com/jaquadro/minecraft/storagedrawers/config/ConfigManager.java b/src/com/jaquadro/minecraft/storagedrawers/config/ConfigManager.java index 51c07ac..13bbc08 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/config/ConfigManager.java +++ b/src/com/jaquadro/minecraft/storagedrawers/config/ConfigManager.java @@ -79,7 +79,7 @@ public class ConfigManager public final ConfigSection sectionBlocksFullDrawers2x2 = new ConfigSection(blockSections, sectionBlocks, "fulldrawers4", "blocks.fullDrawers4"); public final ConfigSection sectionBlocksHalfDrawers1x2 = new ConfigSection(blockSections, sectionBlocks, "halfdrawers2", "blocks.halfDrawers2"); public final ConfigSection sectionBlocksHalfDrawers2x2 = new ConfigSection(blockSections, sectionBlocks, "halfdrawers4", "blocks.halfDrawers4"); - public final ConfigSection sectionBlocksCompDrawers = new ConfigSection(blockSections, sectionBlocks, "compDrawers", "blocks.compDrawers"); + public final ConfigSection sectionBlocksCompDrawers = new ConfigSection(blockSections, sectionBlocks, "compdrawers", "blocks.compDrawers"); public Map blockSectionsMap = new HashMap(); diff --git a/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java b/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java index 29e531e..2315ac2 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java +++ b/src/com/jaquadro/minecraft/storagedrawers/core/ModBlocks.java @@ -46,7 +46,7 @@ public class ModBlocks GameRegistry.registerTileEntity(TileEntityDrawers.class, ModBlocks.getQualifiedName(halfDrawers4)); } - if (config.isBlockEnabled("compDrawers")) { + if (config.isBlockEnabled("compdrawers")) { GameRegistry.registerBlock(compDrawers, ItemCompDrawers.class, "compDrawers"); GameRegistry.registerTileEntity(TileEntityCompDrawers.class, ModBlocks.getQualifiedName(compDrawers)); } diff --git a/src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java b/src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java index f5791bf..28d8b81 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java +++ b/src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java @@ -16,34 +16,34 @@ public class ModRecipes ConfigManager config = StorageDrawers.config; for (int i = 0; i < BlockWood.field_150096_a.length; i++) { - if (config.isBlockEnabled("fullDrawers2")) - GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers2, config.getBlockRecipeOutput("fullDrawers2"), i), "xyx", "xxx", "xyx", + if (config.isBlockEnabled("fulldrawers2")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers2, config.getBlockRecipeOutput("fulldrawers2"), i), "xyx", "xxx", "xyx", 'x', new ItemStack(Blocks.planks, 1, i), 'y', Blocks.chest); - if (config.isBlockEnabled("halfDrawers2")) - GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers2, config.getBlockRecipeOutput("halfDrawers2"), i), "xyx", "xxx", "xyx", + if (config.isBlockEnabled("halfdrawers2")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers2, config.getBlockRecipeOutput("halfdrawers2"), i), "xyx", "xxx", "xyx", 'x', new ItemStack(Blocks.wooden_slab, 1, i), 'y', Blocks.chest); - if (config.isBlockEnabled("fullDrawers4")) - GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers4, config.getBlockRecipeOutput("fullDrawers4"), i), "yxy", "xxx", "yxy", + if (config.isBlockEnabled("fulldrawers4")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.fullDrawers4, config.getBlockRecipeOutput("fulldrawers4"), i), "yxy", "xxx", "yxy", 'x', new ItemStack(Blocks.planks, 1, i), 'y', Blocks.chest); - if (config.isBlockEnabled("halfDrawers4")) - GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers4, config.getBlockRecipeOutput("halfDrawers4"), i), "yxy", "xxx", "yxy", + if (config.isBlockEnabled("halfdrawers4")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.halfDrawers4, config.getBlockRecipeOutput("halfdrawers4"), i), "yxy", "xxx", "yxy", 'x', new ItemStack(Blocks.wooden_slab, 1, i), 'y', Blocks.chest); } - if (config.isBlockEnabled("compDrawers")) - GameRegistry.addRecipe(new ItemStack(ModBlocks.compDrawers, config.getBlockRecipeOutput("compDrawers")), "xxx", "zwz", "xyx", + if (config.isBlockEnabled("compdrawers")) + GameRegistry.addRecipe(new ItemStack(ModBlocks.compDrawers, config.getBlockRecipeOutput("compdrawers")), "xxx", "zwz", "xyx", 'x', new ItemStack(Blocks.stone), 'y', Items.iron_ingot, 'z', new ItemStack(Blocks.piston), 'w', new ItemStack(ModBlocks.fullDrawers2, 1, OreDictionary.WILDCARD_VALUE)); - if (config.isBlockEnabled("fullDrawers2")) + if (config.isBlockEnabled("fulldrawers2")) GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", 'x', Items.stick, 'y', new ItemStack(ModBlocks.fullDrawers2, 1, OreDictionary.WILDCARD_VALUE)); - if (config.isBlockEnabled("halfDrawers2")) + if (config.isBlockEnabled("halfdrawers2")) GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", 'x', Items.stick, 'y', new ItemStack(ModBlocks.halfDrawers2, 1, OreDictionary.WILDCARD_VALUE)); - if (config.isBlockEnabled("fullDrawers4")) + if (config.isBlockEnabled("fulldrawers4")) GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", 'x', Items.stick, 'y', new ItemStack(ModBlocks.fullDrawers4, 1, OreDictionary.WILDCARD_VALUE)); - if (config.isBlockEnabled("halfDrawers4")) + if (config.isBlockEnabled("halfdrawers4")) GameRegistry.addRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", 'x', Items.stick, 'y', new ItemStack(ModBlocks.halfDrawers4, 1, OreDictionary.WILDCARD_VALUE)); diff --git a/src/com/jaquadro/minecraft/storagedrawers/item/ItemCompDrawers.java b/src/com/jaquadro/minecraft/storagedrawers/item/ItemCompDrawers.java index f16ebe4..848da49 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/item/ItemCompDrawers.java +++ b/src/com/jaquadro/minecraft/storagedrawers/item/ItemCompDrawers.java @@ -30,7 +30,7 @@ public class ItemCompDrawers extends ItemBlock if (side > 1) tile.setDirection(side); - int initCapacity = StorageDrawers.config.getBlockBaseStorage("compDrawers"); + int initCapacity = StorageDrawers.config.getBlockBaseStorage("compdrawers"); tile.setDrawerCapacity(initCapacity); } @@ -42,7 +42,7 @@ public class ItemCompDrawers extends ItemBlock public void addInformation (ItemStack itemStack, EntityPlayer player, List list, boolean par4) { ConfigManager config = StorageDrawers.config; - int count = config.getBlockBaseStorage("compDrawers"); + int count = config.getBlockBaseStorage("compdrawers"); list.add(StatCollector.translateToLocalFormatted("storageDrawers.drawers.description", count)); } }