Fix wrench recipe issues

Remove fluid pipe
Add recipe to switch rubber
Fix some missing textures
This commit is contained in:
modmuss50 2016-09-16 22:56:21 +01:00
parent 0a2e878b88
commit edf266588f
9 changed files with 34 additions and 22 deletions

View file

@ -439,7 +439,8 @@ public class ModRecipes
new ItemStack(Blocks.NETHERRACK),
ItemDusts.getDustByName("netherrack"),
300, 27));
for(String oreDictionaryName : OreDictionary.getOreNames()) {
if(isDictPrefixed(oreDictionaryName, "ore", "gem", "ingot")) {
ItemStack oreStack = getDictOreOrNull(oreDictionaryName, 1);
@ -456,8 +457,11 @@ public class ModRecipes
continue;
boolean ore = data[0].equals("ore");
Core.logHelper.info("Ore: " + data[1]);
Core.logHelper.debug("Ore: " + data[1]);
ItemStack dust = getDictOreOrNull(joinDictName("dust", data[1]), ore ? 2 : 1);
if(dust == null || dust.getItem() == null){
continue;
}
RecipeHandler.addRecipe(new GrinderRecipe(oreStack, dust, ore ? 270 : 200, ore ? 31 : 22));
}
}