1.12.2 Use CRT Custom Blood Magic 2 synthetic recipe [BM2] Blood Magic 2 (Blood Magic 2) Minecraft Game

I did not find the relevant custom formula tutorial in the Blood Magic 2MOD, and I would use it to explain it with easy understanding.

The final achievement effect:

(Use the enrichment of photosynthesis and compost in the blood magic altar synthetic charging energy optical fit.

This article defines readers with the foundation of CRT operation and a simple ZS language basis.If the reader can't, please read the corresponding tutorial under CRT.

Note: The same as Java in the ZS language is the same as Java. If you want to declare the Float variable, you need to add f to F. If not add it, it is considered Double variable

Some of the harsh grammar must use Float variables instead of supporting Double variables. Otherwise

For example: Var Num as Float = 1.0F;

(This MOD may not be used)

Alchemy matrix formula, grammar:

 // Official Wiki Example: Use wooden sticks to enter, grass blocks as catalyst synthesis diamonds

MODS.BLOODMAGIC.ALCHEMYARRAY.Addrecipe (, , );

// In addition, you can add sticker parameters after the catalyst parameter, so that there are other animations when synthetic

Formula of the Hall of Fire, grammar:

 // mods.bloodmagic.tartaricForge.addrecipe (IItemstack Output, Iitemstack [] inputs, Double Minsouls, Double Sou ldrain);

// Input array can only have up to 4 parameters. The official Wiki example is

MODS.BLOODMAGIC.TARTARICFORGE.ADDRECIPE (, [, , ], 1 0,10);

// minsouls: the minimum number of original will

// SOULDRAIN: The amount of original will

Blood altar formula, grammar:

 // mods.bloodmagic.bloodaltar.addrecipe (IITEMSTACK OUTPUT, IItemstack INPUT, Int Minimumtier, Int Syphon, int Consumerate, int DRAINRATE);

// Related parameter explanation:

// output: output of items

// input: Item input

// Minimumtier: The need for the altar required, write 0 to level I

// Syphon: Need a total number of LP

// Consumerate: The number of LP per tick

// Drainrate: When the LP is completely consumed, the amount of LP per year is returned to the amount of LP (half of the furnace can be burned with no fuel, and there is no fuel ratio)

// Then the code synthesized in the picture above is as follows:

mods.bloodmagic.bloodaltar.addrecipe (

,

,

3,

25000,

200,

10

);

// Enter after each parameter is not necessary, here is to make readers see more intuitive

// Delete formula

mods.bloodmagic.bloodaltar.removerecipe (); // Delete the slate formula