How to use GDTweaker GDTweaker Minecraft Game

1.12.2

First guide bag:

 Import Mods.gdtweaker.gdtweaker; 

Add formula:

 gdtweaker.addpurifyRecipe (input as Iitemstack, output1 as IItemstack, output2 as IItemstack); XP as float)

Gdtweaker.addglitterRecipe (input as Iitemstack, output1 as Iitemstack, output2 as iitemstack, xp as float);

Delete the formula (delete the recipe according to the input items):

 gdtweaker.removepurifyRecipe (input as Iitemstack);

Gdtweaker.removeglitterRecipe (input as Iitemstack);

example:

Add a diamond Purifier stone and soil formula to produce 1 experience.

Add a diamond RESTRUCTURER as the formula of the lower star and iron ingot, with 1 output experience.

Delete the Purifier formula of Corrupt Grass.

Delete the RESTRUCTURER formula of Green Opal.

 gdtweaker.addpurifyRecipe (, , , 1);

GDTweaker.addGlitterRecipe(,,,1);

Gdtweaker.removepurifyRecipe ();

Gdtweaker.removeglitterRecipe ();

1.16.5

Add formula:

  .AddRecipe (name as string, input as ionRedient, output1 as Iitemstack,

Output2 as IItemstack, XP as float, time as int);

.addrecipe (name as string, input as ingredient, output1 as IItemstack,

output2 as IItemstack, XP as float, time as int);

Delete formula:

Because in version 1.16, it supports the input of Iingredient, so it is limited to delete the formula by formula ID.

  .removerecipebyname (name as string);

.removerecipeByname (name as string);

example:

Add a diamond Purifier coal and charcoal formula to produce 1 experience.

Delete the Purifier formula of Pink Agate Wood.

Add an enchanting gold apple RESTRUCTURER as a formula for gold apples and gold ingots to produce 1 experience.

Delete the RESTRUCTURER formula of PROUSTITE.

  .AddRecipe ("Test", , ,

, 1F, 10);

.removerecipebyname ("GaiAdimension: Purifying/PINK_AGATE_WOOD");

.addRecipe ("test1", ,

, , 1F, 10);

.removerecipebyname ("GaiaDimension: RESTRUCTURING/PROUSTITE");