diff --git a/packs/BiomesOPlenty/build.gradle b/packs/BiomesOPlenty/build.gradle index 94a89d6..7446944 100644 --- a/packs/BiomesOPlenty/build.gradle +++ b/packs/BiomesOPlenty/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.0.3" +version = "1.7.10-1.0.4" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers-BiomesOPlenty" diff --git a/packs/BiomesOPlenty/src/com/jaquadro/minecraft/storagedrawers/packs/bop/core/ModRecipes.java b/packs/BiomesOPlenty/src/com/jaquadro/minecraft/storagedrawers/packs/bop/core/ModRecipes.java index f45ad55..4f05a38 100644 --- a/packs/BiomesOPlenty/src/com/jaquadro/minecraft/storagedrawers/packs/bop/core/ModRecipes.java +++ b/packs/BiomesOPlenty/src/com/jaquadro/minecraft/storagedrawers/packs/bop/core/ModRecipes.java @@ -57,10 +57,10 @@ public class ModRecipes if (recipeSlab != null) { if (blockConfig.isBlockEnabled(nameHalf2)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers2, blockConfig.getBlockRecipeOutput(nameHalf2), i), "xyx", "xxx", "xyx", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); if (blockConfig.isBlockEnabled(nameHalf4)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers4, blockConfig.getBlockRecipeOutput(nameHalf4), i), "yxy", "xxx", "yxy", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); } } } diff --git a/packs/Forestry/build.gradle b/packs/Forestry/build.gradle index 7b353c1..ee9a843 100644 --- a/packs/Forestry/build.gradle +++ b/packs/Forestry/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.0.5" +version = "1.7.10-1.0.6" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers-Forestry" diff --git a/packs/Forestry/src/com/jaquadro/minecraft/storagedrawers/packs/forestry/core/ModRecipes.java b/packs/Forestry/src/com/jaquadro/minecraft/storagedrawers/packs/forestry/core/ModRecipes.java index d5ad019..f494315 100644 --- a/packs/Forestry/src/com/jaquadro/minecraft/storagedrawers/packs/forestry/core/ModRecipes.java +++ b/packs/Forestry/src/com/jaquadro/minecraft/storagedrawers/packs/forestry/core/ModRecipes.java @@ -87,10 +87,10 @@ public class ModRecipes if (recipeSlab != null) { if (blockConfig.isBlockEnabled(nameHalf2)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(halfDrawers2[p], blockConfig.getBlockRecipeOutput(nameHalf2), i), "xyx", "xxx", "xyx", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); if (blockConfig.isBlockEnabled(nameHalf4)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(halfDrawers4[p], blockConfig.getBlockRecipeOutput(nameHalf4), i), "yxy", "xxx", "yxy", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); } } } diff --git a/packs/Misc/build.gradle b/packs/Misc/build.gradle index 7393580..ac56740 100644 --- a/packs/Misc/build.gradle +++ b/packs/Misc/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.0.2" +version = "1.7.10-1.0.3" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers-Misc" diff --git a/packs/Misc/src/com/jaquadro/minecraft/storagedrawers/packs/misc/core/ModRecipes.java b/packs/Misc/src/com/jaquadro/minecraft/storagedrawers/packs/misc/core/ModRecipes.java index 8542181..96c1e9d 100644 --- a/packs/Misc/src/com/jaquadro/minecraft/storagedrawers/packs/misc/core/ModRecipes.java +++ b/packs/Misc/src/com/jaquadro/minecraft/storagedrawers/packs/misc/core/ModRecipes.java @@ -80,10 +80,10 @@ public class ModRecipes if (slab != null) { if (blockConfig.isBlockEnabled(nameHalf2)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers2[p], blockConfig.getBlockRecipeOutput(nameHalf2), i), "xyx", "xxx", "xyx", - 'x', new ItemStack(slab, 1, slabMeta), 'y', "chestWood")); + 'x', new ItemStack(slab, 1, slabMeta % 8), 'y', "chestWood")); if (blockConfig.isBlockEnabled(nameHalf4)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers4[p], blockConfig.getBlockRecipeOutput(nameHalf4), i), "yxy", "xxx", "yxy", - 'x', new ItemStack(slab, 1, slabMeta), 'y', "chestWood")); + 'x', new ItemStack(slab, 1, slabMeta % 8), 'y', "chestWood")); } } } diff --git a/packs/Natura/build.gradle b/packs/Natura/build.gradle index 311eb93..8a4fa2c 100644 --- a/packs/Natura/build.gradle +++ b/packs/Natura/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.0.4" +version = "1.7.10-1.0.5" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers-Natura" diff --git a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java index 220189c..47ebcc2 100644 --- a/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java +++ b/packs/Natura/src/com/jaquadro/minecraft/storagedrawers/packs/natura/core/ModRecipes.java @@ -57,10 +57,10 @@ public class ModRecipes if (recipeSlab != null) { if (blockConfig.isBlockEnabled(nameHalf2)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers2, blockConfig.getBlockRecipeOutput(nameHalf2), i), "xyx", "xxx", "xyx", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); if (blockConfig.isBlockEnabled(nameHalf4)) GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.halfDrawers4, blockConfig.getBlockRecipeOutput(nameHalf4), i), "yxy", "xxx", "yxy", - 'x', new ItemStack(recipeSlab, 1, i), 'y', "chestWood")); + 'x', new ItemStack(recipeSlab, 1, i % 8), 'y', "chestWood")); } } }