TileEntityCraftingTableII theTile = (TileEntityCraftingTableII)(Proxy.getPlayer(network).worldObj).getBlockTileEntity(dataStream.readInt(), dataStream.readInt(), dataStream.readInt());
ArrayList<ItemDetail> Temp = new ArrayList();
for (int i=0; i<RecipeLength; i++)
{
Temp.add(new ItemDetail(dataStream.readInt(),dataStream.readInt(),dataStream.readInt(),null));
}
int RecipeIndex = Zeldo.FindRecipe(Temp, new ItemDetail(toMake));
if (RecipeIndex > -1) {
ContainerClevercraft.onRequestSingleRecipeOutput(Proxy.getPlayer(network), RecipeToMake, theTile, RecipeIndex);
}
if (Proxy.SendContainerUpdate(Proxy.getPlayer(network)))
{
Proxy.SendPacketTo(Proxy.getPlayer(network), SendUpdatePacket());
}
}
if (PacketID == kPacketTypeMaximumCraftingRequest && !Proxy.IsClient())
{
ItemStack toMake = new ItemStack(dataStream.readInt(), dataStream.readInt(), dataStream.readInt());
int RecipeLength = dataStream.readInt();
IRecipe RecipeToMake = Zeldo.getCraftingRecipe(toMake);
TileEntityCraftingTableII theTile = (TileEntityCraftingTableII)(Proxy.getPlayer(network).worldObj).getBlockTileEntity(dataStream.readInt(), dataStream.readInt(), dataStream.readInt());
ArrayList Temp = new ArrayList();
for (int i=0; i<RecipeLength; i++)
{
Temp.add(new ItemDetail(dataStream.readInt(),dataStream.readInt(),dataStream.readInt(),null));
}
int RecipeIndex = Zeldo.FindRecipe(Temp, new ItemDetail(toMake));
if (RecipeIndex > -1) {
ContainerClevercraft.onRequestMaximumRecipeOutput(Proxy.getPlayer(network), RecipeToMake, theTile, RecipeIndex);
}
if (Proxy.SendContainerUpdate(Proxy.getPlayer(network)))