aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2019-01-11 05:43:04 +0100
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2019-01-11 05:43:04 +0100
commit460374856a590c21771884cc1df2706e30206bc8 (patch)
tree392746660ec25231f2ba1a1717d95f41556a6c35 /src
parent82bd52008b663bd38e96472c5d12a3db8bca63b3 (diff)
downloadGT5-Unofficial-460374856a590c21771884cc1df2706e30206bc8.tar.gz
GT5-Unofficial-460374856a590c21771884cc1df2706e30206bc8.tar.bz2
GT5-Unofficial-460374856a590c21771884cc1df2706e30206bc8.zip
fixes https://github.com/bartimaeusnek/bartworks/issues/1
- added Oredict for Grindstones - adjusted tooltip for wind regions Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/RecipeLoader.java82
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/GT_TileEntity_Windmill.java1
2 files changed, 62 insertions, 21 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/RecipeLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/RecipeLoader.java
index 43619f7d7c..605a8c8d0a 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/RecipeLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/RecipeLoader.java
@@ -378,27 +378,67 @@ public class RecipeLoader implements Runnable {
'G', new ItemStack(ItemRegistry.craftingParts, 1, 2),
}
);
- GT_ModHandler.addCraftingRecipe(
- new ItemStack(ItemRegistry.craftingParts, 1, 0),
- RecipeLoader.BITSD,
- new Object[]{
- "SSS",
- "DfD",
- " h ",
- 'S', new ItemStack(Blocks.stone),
- 'D', new ItemStack(GregTech_API.sBlockGranites, 1, OreDictionary.WILDCARD_VALUE),
- }
- );
- GT_ModHandler.addCraftingRecipe(
- new ItemStack(ItemRegistry.craftingParts, 1, 1),
- RecipeLoader.BITSD,
- new Object[]{
- "hDf",
- "SSS",
- 'S', new ItemStack(Blocks.stone),
- 'D', new ItemStack(GregTech_API.sBlockGranites, 1, OreDictionary.WILDCARD_VALUE),
- }
- );
+
+ String[] stones = {"stone","stoneSmooth"};
+ String[] granites = {"blockGranite","stoneGranite","Granite","granite"};
+ for (String granite : granites) {
+ for (String stone : stones) {
+ GT_ModHandler.addCraftingRecipe(
+ new ItemStack(ItemRegistry.craftingParts, 1, 0),
+ RecipeLoader.BITSD,
+ new Object[]{
+ "SSS",
+ "DfD",
+ " h ",
+ 'S', stone,
+ 'D', new ItemStack(GregTech_API.sBlockGranites, 1, OreDictionary.WILDCARD_VALUE),
+ }
+ );
+ GT_ModHandler.addCraftingRecipe(
+ new ItemStack(ItemRegistry.craftingParts, 1, 1),
+ RecipeLoader.BITSD,
+ new Object[]{
+ "hDf",
+ "SSS",
+ 'S', stone,
+ 'D', new ItemStack(GregTech_API.sBlockGranites, 1, OreDictionary.WILDCARD_VALUE),
+ }
+ );
+ GT_ModHandler.addCraftingRecipe(
+ new ItemStack(ItemRegistry.craftingParts, 1, 0),
+ RecipeLoader.BITSD,
+ new Object[]{
+ "SSS",
+ "DfD",
+ " h ",
+ 'S', stone,
+ 'D', granite,
+ }
+ );
+ GT_ModHandler.addCraftingRecipe(
+ new ItemStack(ItemRegistry.craftingParts, 1, 1),
+ RecipeLoader.BITSD,
+ new Object[]{
+ "hDf",
+ "SSS",
+ 'S', stone,
+ 'D', granite,
+ }
+ );
+ }
+ GT_ModHandler.addCraftingRecipe(
+ new ItemStack(ItemRegistry.craftingParts, 1, 2),
+ RecipeLoader.BITSD,
+ new Object[]{
+ "STS",
+ "h f",
+ "SBS",
+ 'S', granite,
+ 'T', new ItemStack(ItemRegistry.craftingParts, 1, 0),
+ 'B', new ItemStack(ItemRegistry.craftingParts, 1, 1),
+ }
+ );
+ }
GT_ModHandler.addCraftingRecipe(
new ItemStack(ItemRegistry.craftingParts, 1, 2),
RecipeLoader.BITSD,
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/GT_TileEntity_Windmill.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/GT_TileEntity_Windmill.java
index 79751aad87..31018d73f7 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/GT_TileEntity_Windmill.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/GT_TileEntity_Windmill.java
@@ -553,6 +553,7 @@ public class GT_TileEntity_Windmill extends GT_MetaTileEntity_MultiBlockBase {
"Needs a Wind Mill Rotor in the Shaftbox to operate",
"Input items in Controller",
"Output items will appear in the dispensers",
+ "It is faster in regions with more wind (like IC2 Windmills)",
"Added by bartimaeusnek via " + ChatColorHelper.DARKGREEN + "BartWorks"
};
}