<informationTable xmlns="http://www.sec.gov/edgar/document/thirteenf/informationtable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <infoTable>
       <nameOfIssuer>CALLON PETE CO DEL</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>13123X102</cusip>
       <value>5210</value>
       <shrsOrPrnAmt>
           <sshPrnamt>690000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>690000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>CONCHO RESOURCES INC COM STK</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>20605P101</cusip>
       <value>5057</value>
       <shrsOrPrnAmt>
           <sshPrnamt>45000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>45000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>ENTERPRISE PRODS PARTNERS L</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>293792107</cusip>
       <value>77944</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2677000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2677000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>ENERGY TRANSFER EQUITY L P</nameOfIssuer>
       <titleOfClass>COM UT LTD PTN</titleOfClass>
       <cusip>29273V100</cusip>
       <value>101406</value>
       <shrsOrPrnAmt>
           <sshPrnamt>6598000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>6598000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>DIAMONDBACK ENERGY INC</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>25278X109</cusip>
       <value>5481</value>
       <shrsOrPrnAmt>
           <sshPrnamt>54000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>54000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>KEANE GROUP INC</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>48669A108</cusip>
       <value>5662</value>
       <shrsOrPrnAmt>
           <sshPrnamt>520000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>520000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>GENESIS ENERGY LP  HOUSTON COM</nameOfIssuer>
       <titleOfClass>UNIT LTD PARTN</titleOfClass>
       <cusip>371927104</cusip>
       <value>76564</value>
       <shrsOrPrnAmt>
           <sshPrnamt>3290000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>3290000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>HESS CORP</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>42809H107</cusip>
       <value>5421</value>
       <shrsOrPrnAmt>
           <sshPrnamt>90000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>90000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>MID CON ENERGY PARTNERS LP</nameOfIssuer>
       <titleOfClass>COM UNIT REPST</titleOfClass>
       <cusip>59560V109</cusip>
       <value>2308</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2901000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2901000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>MV OIL TRUST</nameOfIssuer>
       <titleOfClass>TR UNITS</titleOfClass>
       <cusip>553859109</cusip>
       <value>8117</value>
       <shrsOrPrnAmt>
           <sshPrnamt>991000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>991000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>NGL ENERGY PARTNERS LP</nameOfIssuer>
       <titleOfClass>COM UNIT REPST</titleOfClass>
       <cusip>62913M107</cusip>
       <value>40544</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2890000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2890000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>ONEOK INC NEW</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>682680103</cusip>
       <value>34888</value>
       <shrsOrPrnAmt>
           <sshPrnamt>498000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>498000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>PLAINS ALL AMER PIPELINE LP</nameOfIssuer>
       <titleOfClass>UNIT LTD PARTN</titleOfClass>
       <cusip>726503105</cusip>
       <value>51809</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2114000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2114000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>PLAINS GP HOLDINGS LP</nameOfIssuer>
       <titleOfClass>SHS A REP LTPN</titleOfClass>
       <cusip>72651A207</cusip>
       <value>47090</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1889000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1889000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>PHILLIPS 66 PARTNERS LP</nameOfIssuer>
       <titleOfClass>COM UNIT REP INT</titleOfClass>
       <cusip>718549207</cusip>
       <value>63174</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1207000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1207000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>PROPETRO HLDG CORP</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>74347M108</cusip>
       <value>6357</value>
       <shrsOrPrnAmt>
           <sshPrnamt>282000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>282000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>PACIFIC COAST OIL TRUST</nameOfIssuer>
       <titleOfClass>UNIT BEN INT</titleOfClass>
       <cusip>694103102</cusip>
       <value>2048</value>
       <shrsOrPrnAmt>
           <sshPrnamt>957000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>957000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>SHELL MIDSTREAM PARTNERS LP</nameOfIssuer>
       <titleOfClass>UNIT LTD INT</titleOfClass>
       <cusip>822634101</cusip>
       <value>38076</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1861000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1861000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>TALLGRASS ENERGY GP LP</nameOfIssuer>
       <titleOfClass>SHS CL A</titleOfClass>
       <cusip>874696107</cusip>
       <value>74300</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2957000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2957000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>TARGA RESOURCES CORP.</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>87612G101</cusip>
       <value>106590</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2565000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2565000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>UNITED STATES NATL GAS FUND</nameOfIssuer>
       <titleOfClass>UNIT PAR $0.001</titleOfClass>
       <cusip>912318950</cusip>
       <value>4696</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <putCall>Put</putCall>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>UNITED STATES OIL FUND LP</nameOfIssuer>
       <titleOfClass>CALL</titleOfClass>
       <cusip>91232N908</cusip>
       <value>12500</value>
       <shrsOrPrnAmt>
           <sshPrnamt>10000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <putCall>Call</putCall>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>10000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>VIPER ENERGY PARTNERS LP</nameOfIssuer>
       <titleOfClass>COM UNT RP INT</titleOfClass>
       <cusip>92763M105</cusip>
       <value>11489</value>
       <shrsOrPrnAmt>
           <sshPrnamt>347000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>347000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>VOC ENERGY TRUST</nameOfIssuer>
       <titleOfClass>TR UNITS</titleOfClass>
       <cusip>91829B103</cusip>
       <value>9639</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1692000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1692000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>VOC ENERGY TRUST</nameOfIssuer>
       <titleOfClass>TR UNITS</titleOfClass>
       <cusip>91829B103</cusip>
       <value>570</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <putCall>Call</putCall>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>VOC ENERGY TRUST</nameOfIssuer>
       <titleOfClass>TR UNITS</titleOfClass>
       <cusip>91829B103</cusip>
       <value>1140</value>
       <shrsOrPrnAmt>
           <sshPrnamt>2000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <putCall>Call</putCall>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>2000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>VOC ENERGY TRUST</nameOfIssuer>
       <titleOfClass>TR UNITS</titleOfClass>
       <cusip>91829B103</cusip>
       <value>570</value>
       <shrsOrPrnAmt>
           <sshPrnamt>1000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <putCall>Put</putCall>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>1000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>WESTERN GAS PARTNERS</nameOfIssuer>
       <titleOfClass>COM UNIT LP IN</titleOfClass>
       <cusip>958669103</cusip>
       <value>101327</value>
       <shrsOrPrnAmt>
           <sshPrnamt>3230000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>3230000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
   <infoTable>
       <nameOfIssuer>CIMAREX ENERGY CO</nameOfIssuer>
       <titleOfClass>COM</titleOfClass>
       <cusip>171798101</cusip>
       <value>2535</value>
       <shrsOrPrnAmt>
           <sshPrnamt>36000</sshPrnamt>
           <sshPrnamtType>SH</sshPrnamtType>
       </shrsOrPrnAmt>
       <investmentDiscretion>SOLE</investmentDiscretion>
       <votingAuthority>
           <Sole>36000</Sole>
           <Shared>0</Shared>
           <None>0</None>
       </votingAuthority>
   </infoTable>
</informationTable>
