GregTech 6 support

Forum intended for those developing plugins for or integration with MineTweaker. (Help with scripts is for Scripting Help)

GregTech 6 support

Postby LionZXY » Sun Nov 22, 2015 6:56 pm

GregTech recipe support use a Reflection API.

List all recipe variable you can find (Sorry, i can't post url. Find in gist github com/LionZXY/83e35ab45d3a14c463e0)


: [Select all] [/] [] ()
MTUtilsGT.addCustomRecipe(String recipeVar, boolean aOptimize, long aEUt, long aDuration, long[] aChances, IItemStack[] aInputs, ILiquidStack aFluidInput, ILiquidStack aFluidOutput, IItemStack[] aOutputs);
GeSHi © Codebox Plus


: [Select all] [/] [] ()
MTUtilsGT.removeCustomRecipe(String recipeVar, IItemStack[] output);
GeSHi © Codebox Plus

for add or remove recipe.


: [Select all] [/] [] ()
import mods.MTUtilsGT;
MTUtilsGT.addCustomRecipe("sShredderRecipes",true, 128, 128, [10000],
[<minecraft:stone>], null, null, [<minecraft:diamond_block>]);
GeSHi © Codebox Plus

Add this recipe

Sorry, i can't post url. Find in curse on name "MTUtils"
User avatar
Posts: 1
Joined: Sun Nov 22, 2015 6:50 pm

Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests