[GT-5.09.** & Minetweaker/Crafttweaker Addon] Addon Version 1.7.5- Adding custom Recipes for all Gregtech 5 machines (Now with Fusion Reactor and Ordict support)

  • To use fluids in Minetweaker, first find a container of the needed fluid in game and look for "fluid registry" its uses. If you cannot find it, then check NEI (addons) options/configs. then in the "fluid registry" hover over the box and record the fluidname in the tooltip. Finally, in your script type:" <liquid:fluidName> ".

  • To use fluids in Minetweaker, first find a container of the needed fluid in game and look for "fluid registry" its uses. If you cannot find it, then check NEI (addons) options/configs. then in the "fluid registry" hover over the box and record the fluidname in the tooltip. Finally, in your script type:" <liquid:fluidName> ".


    Problem is the machine needs to output a specific kind of liquid glue (I have tinker's construct installed, and it showed the usual NEI "Liquid:Glue" tag needed, so I'm afraid it will output TConstruct glue), and I do not understand how to access gregtech's fluid registry (I figured the .Fluid_Display:# would be the ID). It was easy enough outputting glue to cells (even though that was tconstruct glue as well) so I added in the cell option as well as the outputting to liquid glue option to the script an hour after I posted my message. However, I was in game, and since adding recipes to gregtech machines involves having to quit minecraft in order for the recipes.cfg to update your minetweaker change I haven't had time to play and check if the liquid:glue will be converted to gregtech's version automatically. I'll post here after I find out.



    Update:
    So it seems that the gregtech fluid output added through minetweaker automatically gets "gregified" (liquid:glue will turn into gregtech's liquid glue). Good to know :pinch:

  • Nothing gets gregified here, the Fluid Registry is a Forge thing and "glue" is the name for both GT Glue and TConstruct Glue, making both of them identical. I don't have my own Fluid Registry, I use the Forge one...


    Maybe I used "gregified" incorrectly. In my game NEI shows that a certain type of dynamite can only be created with the glue from the gregtech machine, where if I show the uses for the TConstruct "Liquid:Glue", a completely different set of recipes show up (probably because Gregtech and TConstruct don't work too well together in 1.7.10? I assume that because that's what a line in the log when I'm booting up the game tells me). Regardless, issue is solved, I think NEI just threw me off with the moueover metavalue for the glue inside the gregtech machine so I assumed it had separate metadata.

  • How does one replaces GregTech recipe? I was trying to make a script to bypass overclocking by upping the tier of recipes, starting with deuterium production. But it seems to work only with molten cheese(and every other liquid with no centrifuge recipe). As I've get it, two recipes for same liquid can not coexist. So i tried to remove entry "I:hydrogen_160". It returned. I tried to set it to zero. It removed the recipie from nei, but I assume it still there, gloating at me.


    Here is my line in script

    Code
    Centrifuge.addRecipe([null], <liquid:hydrogen>*4096, null, null, <liquid:deuterium>*1024, [0], 16, 5120);
  • How does one replaces GregTech recipe? I was trying to make a script to bypass overclocking by upping the tier of recipes, starting with deuterium production. But it seems to work only with molten cheese(and every other liquid with no centrifuge recipe). As I've get it, two recipes for same liquid can not coexist. So i tried to remove entry "I:hydrogen_160". It returned. I tried to set it to zero. It removed the recipie from nei, but I assume it still there, gloating at me.


    Here is my line in script

    Code
    Centrifuge.addRecipe([null], <liquid:hydrogen>*4096, null, null, <liquid:deuterium>*1024, [0], 16, 5120);


    You can only set the recipe to 0 in the Recipe config file from Gt


    Then you can add your own recipes. Change a bit time and eu to override it successfully.

  • I have to ask at this point where did I screw up on these three?


    old titanium recipes
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, [<gregtech:gt.metaitem.01:822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2)


    mods.gregtech.Centrifuge.addRecipe([<gregtech:gt.metaitem.01:2822> , <gregtech:gt.metaitem.01:28>] , <gregtech:gt.metaitem.01:4822>, 7, 5 )


    mods.gregtech.Electrolyzer.addRecipe([<gregtech:gt.metaitem.01:2028> * 2,<gregtech:gt.metaitem.01:2019> * 16,<gregtech:gt.metaitem.01:30013> * 11],<gregtech:gt.metaitem.01:37> * 10 ,<gregtech:gt.metaitem.01:2822> * 39, <inudstrialcraft_2:metaitem.4351> * 11 , 35, 90)



    also I would ask is the output array chance required for all machines that have it?


  • I need the scripts and the minetweaker.log for it.

  • This what you need?


    The ; is missing.


    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, [<gregtech:gt.metaitem.01:822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2)
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:6822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2)
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:1822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2)
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:4822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] ,30, 2)



    mods.gregtech.Electrolyzer.addRecipe([<gregtech:gt.metaitem.01:2028> * 2,<gregtech:gt.metaitem.01:2019> * 16,<gregtech:gt.metaitem.01:30013> * 11],<gregtech:gt.metaitem.01:37> * 10 ,<gregtech:gt.metaitem.01:2822> * 39, <inudstrialcraft_2:metaitem.4351> * 11 , 35, 90)



    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, [<gregtech:gt.metaitem.01:822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2);
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:6822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2);
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:1822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] , 30, 2);
    mods.gregtech.Pulverizer.addRecipe(<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:4822>, <gregtech:gt.metaitem.01:2028>] , [10000 , 1000] ,30, 2);



    mods.gregtech.Electrolyzer.addRecipe([<gregtech:gt.metaitem.01:2028> * 2,<gregtech:gt.metaitem.01:2019> * 16,<gregtech:gt.metaitem.01:30013> * 11],<gregtech:gt.metaitem.01:37> * 10 ,<gregtech:gt.metaitem.01:2822> * 39, <inudstrialcraft_2:metaitem.4351> * 11 , 35, 90);










  • Okay I fixed the code but and it worked but I had a few things wrong



    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:822>], <gregtech:gt.metaitem.01:2028> , [10000 , 1000] , 30, 2);



    Produces 2 crushed bauxite ore and 1 tiny bauxite dust (10%) chance from 1 titanium ore. I see where I messed up and fixed it with this



    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.metaitem.01:822> , [10000 , 1000] , 25, 2);



    However this does not show up at all. I think it may be related to the fact that in my current game both tiny bauxite dust and bauxite ore have similiar meta ids (both end with 822) however
    when enter the full meta ID(Ie 4969:822) I get a null error. Is there a way I should change my syntax using this method?



    Or am I doing it the hard way and I should use mt.hand to get the item id.....


  • Don't use block ids. Tiny bauxite dust and bauxite ore don't just have similar meta ids, they have identical metadata, but different internal names, so your new recipe is for pulverizing tiny bauxite dust into 2 crushed bauxite ore and a 10% chance of titanium dust. I presume you want to pulverize the bauxite ore block? Try this:


    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:822> , [10000 , 1000] , 25, 2);


    That will only give you the stone-based bauxite ore, though. For the other substrates:
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:1822> , [10000 , 1000] , 25, 2); // netherrack
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:2822> , [10000 , 1000] , 25, 2); // endstone
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:3822> , [10000 , 1000] , 25, 2); // black granite
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:4822> , [10000 , 1000] , 25, 2); // red granite
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:5822> , [10000 , 1000] , 25, 2); // marble (if you're using a new enough version of GT to have it)
    mods.gregtech.Pulverizer.addRecipe([<gregtech:gt.metaitem.01:5822> * 2, <gregtech:gt.metaitem.01:2028>], <gregtech:gt.blockores:6822> , [10000 , 1000] , 25, 2); // basalt (if you're using a new enough version of GT to have it)

  • Still not working I ran the code, get bauxite with stone dust. I went into the recipes.cfg under the true or false recipes for the pulverizer, did for the macerator. I even changed the voltage a bit and it finally went thorugh. What it the difference in the config between the true or false sections and the 400=400 sections? Also in the line of code "<gregtech:gt.blockores:822>" what is the section "blockores" called and how do I determine it for other items?

  • Still not working I ran the code, get bauxite with stone dust. I went into the recipes.cfg under the true or false recipes for the pulverizer, did for the macerator. I even changed the voltage a bit and it finally went thorugh. What it the difference in the config between the true or false sections and the 400=400 sections? Also in the line of code "<gregtech:gt.blockores:822>" what is the section "blockores" called and how do I determine it for other items?


    Searching the code on GitHub, it looks like the 400=400 section (called "pulveriser") is for the GregTech pulverizers (macerators), which allows changing the durations of the recipe (or setting it to 0 to disable), while the true/false section (called "pulverization") is for the Thermal Expansion pulverizer.


    There are two ways I'm familiar with to find the correct internal name for items: 1. NEI Integration mod (though it requires some config editing), 2. /mt hand command (this has the advantage of also showing any NBT tags the item might have, but requires you to obtain the item first, such as by going into creative mode)

  • Okay two issues one is I am having issues with centrifuge recipes. I have tried to used "null" to depreciate sections I am not using but it is not accepting the recipe:


    //[dustBauxite, tinytitaniumdust], Purebauxitedust


    mods.gregtech.Centrifuge.addRecipe([<gregtech:gt.metaitem.01:2822> , <gregtech:gt.metaitem.01:28>] ,null, <gregtech:gt.metaitem.01:4822>,null,null,[10000, 10000] 7, 5 );


    I believe it's related to a syntax issue I am having with the elctrolyzer as well.


    Also can't get the alloy smelter to output the proper amount of redstone alloy, override is taking place but I still only get one ingot.


    mods.gregtech.AlloySmelter.addRecipe(<gregtech:gt.metaitem.01:11308> * 4, <ore:ingotAnyCopper>, <minecraft:redstone> * 4, 800, 30);

  • mods.gregtech.Centrifuge.addRecipe([<gregtech:gt.metaitem.01:2822> , <gregtech:gt.metaitem.01:28>] ,null, <gregtech:gt.metaitem.01:4822>,null,null,[10000, 10000] 7, 5 );


    You need a comma after the output chance array.


    Also can't get the alloy smelter to output the proper amount of redstone alloy, override is taking place but I still only get one ingot.
    mods.gregtech.AlloySmelter.addRecipe(<gregtech:gt.metaitem.01:11308> * 4, <ore:ingotAnyCopper>, <minecraft:redstone> * 4, 800, 30);


    Override is taking place? I seriously doubt that - you'd run into https://github.com/GTNewHorizo…tryExpansion.java#L29-L30 with that recipe. GTTweaker did not consider ore dictionary entries that resolve to multiple GT items, like "ingotAnyCopper", when that class was written. It tends to be safer to use specific items in machine recipes. Also, I notice in your script you have extra lines for ingotAnnealedCopper and dustAnnealedCopper - if the ore dictionary handling were done right, those would be redundant, as "anyCopper" already includes annealed copper.


    One other thing: if you increase the voltage required to make red alloy to 30 EU/t, that will make it impossible to produce in the steam alloy smelter, which can only handle recipes up to 16 EU/t (even though it consumes steam instead of EU).