Add ShapedOreRecipe for Lead/Leash

This commit is contained in:
samtrion committed 2013-10-28 17:57:32 +01:00
1 parent e671efc362
commit 7f07ce616e
1 file changed
+7 -4
+7 -4
View File
@@ -1,10 +1,8 @@
package tconstruct.common;
import cpw.mods.fml.common.*;
import cpw.mods.fml.common.event.FMLInterModComms;
import cpw.mods.fml.common.registry.*;
import java.lang.reflect.Field;
import java.util.*;
import net.minecraft.block.*;
import net.minecraft.block.material.*;
import net.minecraft.creativetab.CreativeTabs;
@@ -39,6 +37,9 @@ import tconstruct.library.util.IPattern;
import tconstruct.modifiers.*;
import tconstruct.util.*;
import tconstruct.util.config.*;
import cpw.mods.fml.common.*;
import cpw.mods.fml.common.event.FMLInterModComms;
import cpw.mods.fml.common.registry.*;
public class TContent implements IFuelHandler
{
@@ -1946,8 +1947,10 @@ public class TContent implements IFuelHandler
OreDictionary.registerOre("glass", new ItemStack(clearGlass));
RecipeRemover.removeShapedRecipe(new ItemStack(Block.pistonStickyBase));
RecipeRemover.removeShapedRecipe(new ItemStack(Item.magmaCream));
RecipeRemover.removeShapedRecipe(new ItemStack(Item.leash));
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Block.pistonStickyBase), "slimeball", Block.pistonBase));
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(Item.magmaCream), "slimeball", Item.blazePowder));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.leash, 2), "ss ", "sS ", " s", 's', Item.silk, 'S', "slimeball"));
}
public static boolean thaumcraftAvailable;
@@ -2039,7 +2042,7 @@ public class TContent implements IFuelHandler
if (objArray[var4] instanceof String[])
{
String[] var7 = (String[]) ((String[]) objArray[var4++]);
String[] var7 = ((String[]) objArray[var4++]);
for (int var8 = 0; var8 < var7.length; ++var8)
{