mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Add ShapedOreRecipe for Lead/Leash
This commit is contained in:
1 parent
e671efc362
commit
7f07ce616e
1 file changed
+7
-4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user